#include <pandabase.h>
#include "typedObject.h"
#include "typedReferenceCount.h"
#include "pointerTo.h"
#include "factoryParam.h"
#include "dcast.h"
#include "pvector.h"
#include "factoryParams.I"
Go to the source code of this file.
Compounds | |
class | FactoryParams |
An instance of this class is passed to the Factory when requesting it to do its business and construct a new something. More... | |
Functions | |
template<class ParamType> bool | get_param_into (ParamType *&pointer, const FactoryParams ¶ms) |
A handy convenience template function that extracts a parameter of the indicated type from the FactoryParams list. |
Definition in file factoryParams.h.
|
A handy convenience template function that extracts a parameter of the indicated type from the FactoryParams list. If the parameter type is found, it fills the pointer and returns true; otherwise, it sets the pointer to NULL and returns false. Definition at line 41 of file factoryParams.I. |