#include <objectfactory.h>
|
| template<class ContainerType > |
| static ContainerType * | createAndInit (const xercesc::DOMElement *element) |
| |
|
|
typedef std::pair< const AllocateBase *, const DeallocateBase * > | AllocDeallocPair |
| |
|
typedef std::vector< AllocDeallocPair > | AllocDeallocVector |
| |
|
typedef AllocDeallocVector::iterator | AllocDeallocVectorIt |
| |
|
typedef std::map< MBXMLUtils::FQN, AllocDeallocVector > | NameMap |
| |
|
typedef NameMap::iterator | NameMapIt |
| |
A object factory. A object factory which creates any object derived from fmatvec::Atom.
◆ createAndInit()
template<class ContainerType >
| static ContainerType* MBSim::ObjectFactory::createAndInit |
( |
const xercesc::DOMElement * |
element | ) |
|
|
inlinestatic |
Create and initialize an object corresponding to the XML element element and return a pointer of type ContainerType. Throws if the created object is not of type ContainerType or no object can be create without errors.
The documentation for this class was generated from the following files:
- /mbsim-env/mbsim/kernel/mbsim/objectfactory.h
- /mbsim-env/mbsim/kernel/mbsim/objectfactory.cc