YAMLParser
|
This is the base class for all types with an external identifier attribute. Used when reference to an arbitrary identifiable type is required. More...
#include <Identifiable.h>
Public Types | |
enum | Type { NULLTYPE, NODE, COORDSYS, BEAM, TRISHELL, QUADSHEL, VECTOR, ECCENT, ISOMATERIAL, PIPE, BOX, IHPROFIL, LSECTION, TSECTION, PLCOMP, CROSS_SECTION_DUMMY, NODELOAD, LOADCOMB } |
Public Member Functions | |
virtual | ~Identifiable () |
int | getID () const |
Getter for the externally defined identification number. More... | |
virtual Identifiable::Type | getType () |
virtual std::string | getTypeAsString () |
Public Attributes | |
std::vector< std::string > | s_Types |
Type | type |
The FEM element type (see enum definition) More... | |
Protected Member Functions | |
void | setID (int id) |
Setter for the externally defined identification number. More... | |
Protected Attributes | |
int | id |
Externally defined identification number. More... | |
This is the base class for all types with an external identifier attribute. Used when reference to an arbitrary identifiable type is required.
enum Identifiable::Type |
The FEM element type. Used to avoid problems with elements of different types having the same id number. E.g. both a BEAM and a NODE can have id = 1.
Enumerator | |
---|---|
NULLTYPE | |
NODE | |
COORDSYS | |
BEAM | |
TRISHELL | |
QUADSHEL | |
VECTOR | |
ECCENT | |
ISOMATERIAL | |
PIPE | |
BOX | |
IHPROFIL | |
LSECTION | |
TSECTION | |
PLCOMP | |
CROSS_SECTION_DUMMY | |
NODELOAD | |
LOADCOMB |
|
virtual |
int Identifiable::getID | ( | ) | const |
Getter for the externally defined identification number.
|
virtual |
Function returning the type of the element.
Used to specify element types for operatins such as comparison.
Reimplemented in FEBeam, PLComp, FEEccentricity, FENode, FENodeLoad, FEPipe, FEVector, FETsection, and CrossSectionDummy.
|
virtual |
Function returning the type as a string.
Used to throw informative error messages
Reimplemented in FEBeam, PLComp, FEQuadshell, FETrishell, FEEccentricity, FENode, FEIsoMaterial, FENodeLoad, FEPipe, FEVector, FETsection, and CrossSectionDummy.
|
protected |
Setter for the externally defined identification number.
|
protected |
Externally defined identification number.
std::vector<std::string> Identifiable::s_Types |
Type Identifiable::type |
The FEM element type (see enum definition)