SST
7.2.0
StructuralSimulationToolkit
|
The class for representing Statistic Output FieldsMore...
#include <statfieldinfo.h>
Public Types | |
enum | fieldType_t { UNDEFINED, UINT32, UINT64, INT32, INT64, FLOAT, DOUBLE } |
Supported Field Types. | |
typedef int32_t | fieldHandle_t |
Public Member Functions | |
StatisticFieldInfo (const char *statName, const char *fieldName, fieldType_t fieldType) | |
Construct a StatisticFieldInfo. More... | |
const std::string & | getStatName () const |
Return the statistic name related to this field info. | |
const std::string & | getFieldName () const |
Return the field name related to this field info. | |
fieldType_t | getFieldType () const |
Return the field type related to this field info. | |
std::string | getFieldUniqueName () const |
Return the field type related to this field info. | |
bool | operator== (StatisticFieldInfo &FieldInfo1) |
Compare two field info structures. More... | |
void | setFieldHandle (fieldHandle_t handle) |
Set the field handle. More... | |
fieldHandle_t | getFieldHandle () |
Get the field handle. More... | |
Static Public Member Functions | |
static const char * | getFieldTypeShortName (fieldType_t type) |
static const char * | getFieldTypeFullName (fieldType_t type) |
template<typename T > | |
static fieldType_t | getFieldTypeFromTemplate () |
The class for representing Statistic Output Fields
SST::Statistics::StatisticFieldInfo::StatisticFieldInfo | ( | const char * | statName, |
const char * | fieldName, | ||
fieldType_t | fieldType | ||
) |
Construct a StatisticFieldInfo.
statName | - Name of the statistic registering this field. |
fieldName | - Name of the Field to be assigned. |
fieldType | - Data type of the field. |
|
inline |
Get the field handle.
Referenced by SST::Statistics::StatisticOutputHDF5::implOutputField(), and SST::Statistics::StatisticOutput::StatisticOutput().
bool SST::Statistics::StatisticFieldInfo::operator== | ( | StatisticFieldInfo & | FieldInfo1 | ) |
Compare two field info structures.
FieldInfo1 | - a FieldInfo to compare against. |
References getFieldName(), and getFieldType().
|
inline |
Set the field handle.
handle | - The assigned field handle for this FieldInfo |
Referenced by SST::Statistics::StatisticOutput::StatisticOutput().