JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
CoilPrototypeFactory Class Reference

This interface knows about coil prototypes. More...

#include <CoilPrototypeFactory.h>

+ Inheritance diagram for CoilPrototypeFactory:
+ Collaboration diagram for CoilPrototypeFactory:

Public Member Functions

 CoilPrototypeFactory ()
 Constructor. More...
 
virtual ~CoilPrototypeFactory ()
 Destructor.
 
CoilClone (DOMNode *node)
 Clone a coil by node type. More...
 
CoilClone (string name)
 Clone a coil by name. More...
 
map< string, Coil * > * getList ()
 Get list of all coil prototypes. More...
 
- Public Member Functions inherited from PrototypeFactory
 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

Coilget (string name)
 
int upper (int c)
 
- Protected Member Functions inherited from PrototypeFactory
Prototypeget (string name)
 Get pointer to Prototype by name. More...
 
int upper (int c)
 

Private Attributes

map< string, Coil * > m_Clonables
 Coil protoype list.
 

Additional Inherited Members

- Protected Attributes inherited from PrototypeFactory
map< string, Prototype * > m_Clonables
 

Detailed Description

This interface knows about coil prototypes.

Constructor & Destructor Documentation

CoilPrototypeFactory::CoilPrototypeFactory ( )

Constructor.

Will initialise with the available Prototypes. Every available coil type needs to be registered here. Also include the header of the module in the coilprototypefactory.cpp

Member Function Documentation

Coil * CoilPrototypeFactory::Clone ( DOMNode *  node)

Clone a coil by node type.

Parameters
nodeDOMNode containing coil attributes.
Returns
The pointer to the cloned Coil

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Coil * CoilPrototypeFactory::Clone ( string  name)

Clone a coil by name.

Parameters
nameof the coil
Returns
The pointer to the cloned Coil

+ Here is the call graph for this function:

Coil * CoilPrototypeFactory::get ( string  name)
protected

Get Coil

Parameters
name
map<string, Coil*>* CoilPrototypeFactory::getList ( )
inline

Get list of all coil prototypes.

Returns
Pointer to the coil prototype list.

+ Here is the call graph for this function:

int CoilPrototypeFactory::upper ( int  c)
protected

Upper case

Parameters
cChar to be converted.
Returns
Converted char.

+ Here is the caller graph for this function:


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

-- last change 17.06.2016 | Tony Stoecker | Imprint --