|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Class representing a physical variable in the result file hierarchy. More...
#include <FFrVariable.H>
Classes | |
| struct | Less |
| Functor for comparison of two variable definitions. More... | |
Public Types | |
| enum | VDType { NONE , CHAR , UCHAR , INT , UINT , FLOAT } |
| Enum defining available the variable types. More... | |
Public Member Functions | |
| FFrVariable () | |
| Default constructor initializing the members. More... | |
| int | fillObject (const std::vector< std::string > &tokens) |
| Parses the variable definition from a list of strings. More... | |
| void | dump (std::ostream &os=std::cout) const |
| Prints the variable defintion to the sepcified output stream. More... | |
| size_t | getTotalDataSize () const |
| Returns the total number of bits in the variable. More... | |
| size_t | getRepeats () const |
| Returns the total number of words in the variable. More... | |
| bool | equal (const FFrVariable *that) const |
| Return true if *this equals *that. More... | |
| bool | less (const FFrVariable *that) const |
| Return true if *this is less than *that. More... | |
Static Public Member Functions | |
| static FFrStatus | create (FILE *varStream, FFrCreatorData &cd, bool dataBlocks) |
| Static method for parsing a variable definition from file. More... | |
Public Attributes | |
| std::string | name |
| Name or desription of the variable. More... | |
| std::string | unit |
| Unit of the variable (only for FLOAT variables) More... | |
| VDTypeEnum | dataType |
| Basic data type of the variable. More... | |
| std::string | dataClass |
| Class name (structured type) of the variable. More... | |
| size_t | dataSize |
| Size (in bits) of each word of the variable. More... | |
| size_t | repeats |
| Total number of words in the variable. More... | |
| std::vector< size_t > | dataBlockSizes |
| Number of data words in each direction for multi-dimensional variables. More... | |
| std::vector< std::string > | dataBlockDescription |
| Component names for multi-dimensional variables. More... | |
Class representing a physical variable in the result file hierarchy.
| enum FFrVariable::VDType |
|
inline |
Default constructor initializing the members.
|
static |
Static method for parsing a variable definition from file.
If the parsing succedes, a new FFrVariable instance is created and inserted into the the container cd, unless a matching entry already exists. The method may also detect references to variable and then creates a FFrVariableReference for it.
| void FFrVariable::dump | ( | std::ostream & | os = std::cout | ) | const |
Prints the variable defintion to the sepcified output stream.
| bool FFrVariable::equal | ( | const FFrVariable * | that | ) | const |
Return true if *this equals *that.
| int FFrVariable::fillObject | ( | const std::vector< std::string > & | tokens | ) |
Parses the variable definition from a list of strings.
|
inline |
Returns the total number of words in the variable.
|
inline |
Returns the total number of bits in the variable.
| bool FFrVariable::less | ( | const FFrVariable * | that | ) | const |
Return true if *this is less than *that.
| std::vector<std::string> FFrVariable::dataBlockDescription |
Component names for multi-dimensional variables.
| std::vector<size_t> FFrVariable::dataBlockSizes |
Number of data words in each direction for multi-dimensional variables.
| std::string FFrVariable::dataClass |
Class name (structured type) of the variable.
| size_t FFrVariable::dataSize |
Size (in bits) of each word of the variable.
| VDTypeEnum FFrVariable::dataType |
Basic data type of the variable.
| std::string FFrVariable::name |
Name or desription of the variable.
| size_t FFrVariable::repeats |
Total number of words in the variable.
| std::string FFrVariable::unit |
Unit of the variable (only for FLOAT variables)