JEMRIS  2.8.2
open-source MRI simulations
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
PrototypeFactory Class Reference

Base class for prototype factories. More...

#include <PrototypeFactory.h>

+ Inheritance diagram for PrototypeFactory:
+ Collaboration diagram for PrototypeFactory:

Public Member Functions

 PrototypeFactory ()
 Default constructor.
 
virtual ~PrototypeFactory ()
 Default destructor.
 
PrototypeClone (DOMNode *node)
 Clone a prototype by node. More...
 
PrototypeClone (string name)
 Clone a prototype by name. More...
 
map< string, Prototype * > * getList ()
 Get Pointer to list of clonable prototypes. More...
 

Protected Member Functions

Prototypeget (string name)
 Get pointer to Prototype by name. More...
 
int upper (int c)
 

Protected Attributes

map< string, Prototype * > m_Clonables
 

Detailed Description

Base class for prototype factories.

Member Function Documentation

§ Clone() [1/2]

Prototype * PrototypeFactory::Clone ( DOMNode *  node)

Clone a prototype by node.

Parameters
nodeDOMNode containing prototype attributes.
Returns
Pointer to cloned prototype.
+ Here is the call graph for this function:

§ Clone() [2/2]

Prototype * PrototypeFactory::Clone ( string  name)

Clone a prototype by name.

Parameters
namePrototype name.
Returns
Pointer to cloned prototype .
+ Here is the call graph for this function:

§ get()

Prototype * PrototypeFactory::get ( string  name)
protected

Get pointer to Prototype by name.

Parameters
namePrototype name

§ getList()

map<string, Prototype*>* PrototypeFactory::getList ( )
inline

Get Pointer to list of clonable prototypes.

Returns
Pointer to list of clonable prototypes.

§ upper()

int PrototypeFactory::upper ( int  c)
protected

Upper case

Parameters
cChar to be converted.
Returns
Converted char.

The documentation for this class was generated from the following files:

-- last change 24.05.2018 | Tony Stoecker | Imprint | Data Protection --