JEMRIS  2.8.1
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

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:

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:

Prototype * PrototypeFactory::get ( string  name)
protected

Get pointer to Prototype by name.

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

Get Pointer to list of clonable prototypes.

Returns
Pointer to list of clonable prototypes.
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 17.06.2016 | Tony Stoecker | Imprint --