The class for representing Statistic Output Fields
More...
#include <statfieldinfo.h>
|
enum | fieldType_t {
UNDEFINED,
UINT32,
UINT64,
INT32,
INT64,
FLOAT,
DOUBLE
} |
| Supported Field Types.
|
|
typedef int32_t | fieldHandle_t |
|
|
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.
- Parameters
-
statName | - Name of the statistic registering this field. |
fieldName | - Name of the Field to be assigned. |
fieldType | - Data type of the field. |
fieldHandle_t SST::Statistics::StatisticFieldInfo::getFieldHandle |
( |
| ) |
|
|
inline |
Get the field handle.
- Returns
- The assigned field handle.
Compare two field info structures.
- Parameters
-
FieldInfo1 | - a FieldInfo to compare against. |
- Returns
- True if the Field Info structures are the same.
References getFieldName(), and getFieldType().
void SST::Statistics::StatisticFieldInfo::setFieldHandle |
( |
fieldHandle_t |
handle | ) |
|
|
inline |
Set the field handle.
- Parameters
-
handle | - The assigned field handle for this FieldInfo |
The documentation for this class was generated from the following files: