xc
|
Manager for the creation/deletion of coordinate transformations. More...
#include <TransfCooHandler.h>
Public Types | |
typedef std::map< std::string, CrdTransf * > | map_transfcoo |
typedef map_transfcoo::const_iterator | const_iterator |
typedef map_transfcoo::iterator | iterator |
Public Member Functions | |
TransfCooHandler (Preprocessor *owr) | |
Constructor. | |
const map_transfcoo & | Map (void) const |
Returns a reference to the coordinate transformation map (container). | |
template<class T > | |
T * | newCrdTransf (const std::string &) |
LinearCrdTransf2d * | newLinearCrdTransf2d (const std::string &) |
Creates a new linear 2D coordinate transformation. | |
LinearCrdTransf3d * | newLinearCrdTransf3d (const std::string &) |
Creates a new linear 3D coordinate transformation. | |
PDeltaCrdTransf2d * | newPDeltaCrdTransf2d (const std::string &) |
Creates a new pdelta 2D coordinate transformation. | |
PDeltaCrdTransf3d * | newPDeltaCrdTransf3d (const std::string &) |
Creates a new pdelta 3D coordinate transformation. | |
CorotCrdTransf2d * | newCorotCrdTransf2d (const std::string &) |
Creates a new corotationa 2D coordinate transformation. | |
CorotCrdTransf3d * | newCorotCrdTransf3d (const std::string &) |
Creates a new corotationa 3D coordinate transformation. | |
const_iterator | begin (void) const |
Returns an iterator which points to principio de la lista. | |
const_iterator | end (void) const |
Returns an iterator apuntando después del final de la lista. | |
iterator | begin (void) |
Returns an iterator which points to principio de la lista. | |
iterator | end (void) |
Returns an iterator apuntando después del final de la lista. | |
const_iterator | find (const std::string &str) const |
Returns an iterator to the transformation with the name being passed as parameter. | |
iterator | find (const std::string &str) |
Returns an iterator to the transformation with the name being passed as parameter. | |
CrdTransf * | find_ptr (const std::string &str) |
Returns a pointer to the transformation with the name being passed as parameter (returns nullptr if not found). | |
CrdTransf * | find_ptr (const int &tag) |
Returns a pointer to the coordinate transformation with the tag being passed as parameter (null if not found). More... | |
const CrdTransf * | find_ptr (const std::string &str) const |
Returns a const pointer to the transformation with the name being passed as parameter (returns nullptr if not found). | |
const CrdTransf * | find_ptr (const int &tag) const |
Returns a pointer to the coordinate transformation with the tag being passed as parameter (null if not found). More... | |
std::string | getName (const int &tag) const |
Returns the name that corresponds to the coordinate transformation tag being passed as parameter. More... | |
~TransfCooHandler (void) | |
Destructor. | |
void | clearAll (void) |
Deletes all members. | |
![]() | |
PrepHandler (Preprocessor *owr) | |
Default constructor. | |
virtual int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
virtual int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
![]() | |
PreprocessorContainer (Preprocessor *owr) | |
Default constructor. | |
const Domain * | getDomain (void) const |
Returns the domain. | |
Domain * | getDomain (void) |
Returns the domain. | |
Preprocessor * | getPreprocessor (void) |
Returns a pointer to the object preprocessor. | |
const Preprocessor * | getPreprocessor (void) const |
Returns a pointer to the object preprocessor. | |
void | checkPreprocessor (void) |
![]() | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (const MovableObject &) |
Assignment operator. Doesn't copy the dbTag. | |
int | getClassTag (void) const |
Return the class identifier. | |
int | getDbTag (void) const |
Return the object identifier in the database. | |
int | getDbTag (CommParameters &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (CommParameters &) |
Sets the object identifier in the database if not already set. More... | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info . | |
virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID . | |
virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var . | |
virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var . | |
![]() | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (void) const |
Returns a vector to store class dbTags. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Protected Member Functions | |
void | free_mem (void) |
Frees memory. | |
TransfCooHandler (const TransfCooHandler &) | |
Copy constructor. | |
TransfCooHandler & | operator= (const TransfCooHandler &) |
Assignment operator. | |
Manager for the creation/deletion of coordinate transformations.
XC::CrdTransf * XC::TransfCooHandler::find_ptr | ( | const int & | tag | ) |
Returns a pointer to the coordinate transformation with the tag being passed as parameter (null if not found).
const XC::CrdTransf * XC::TransfCooHandler::find_ptr | ( | const int & | tag | ) | const |
Returns a pointer to the coordinate transformation with the tag being passed as parameter (null if not found).
std::string XC::TransfCooHandler::getName | ( | const int & | tag | ) | const |
Returns the name that corresponds to the coordinate transformation tag being passed as parameter.