The SSTInfo representation of ElementInfoPort object. More...
#include <sstinfo.h>
Public Member Functions | |
SSTInfoElement_StatisticInfo (const ElementInfoStatistic *elstat) | |
Create a new SSTInfoElement_StatisticInfo object. | |
const char * | getName () |
Return the Name of the Statistic. | |
const char * | getDesc () |
Return the Description of the Statistic. | |
const char * | getUnits () |
Return the Units of the Statistic. | |
const uint8_t | getEnableLevel () |
Return the enable level of the Statistic. | |
void | outputStatisticInfo (int Index) |
Output the Statistic Information. | |
void | generateStatisticXMLData (int Index, TiXmlNode *XMLParentElement) |
Create the formatted XML data of the Statistic. |
The SSTInfo representation of ElementInfoPort object.
This class is used internally by SSTInfo to load and process ElementInfoPort objects.
SST::SSTInfoElement_StatisticInfo::SSTInfoElement_StatisticInfo | ( | const ElementInfoStatistic * | elstat | ) | [inline] |
Create a new SSTInfoElement_StatisticInfo object.
elstat | Pointer to an ElementInfoStatistic object. |
void SSTInfoElement_StatisticInfo::generateStatisticXMLData | ( | int | Index, | |
TiXmlNode * | XMLParentElement | |||
) |
Create the formatted XML data of the Statistic.
Index | The Index of the Statistic. | |
XMLParentElement | The parent element to receive the XML data. |
Referenced by SST::SSTInfoElement_ComponentInfo::generateComponentInfoXMLData(), and SST::SSTInfoElement_SubComponentInfo::generateSubComponentInfoXMLData().
const char* SST::SSTInfoElement_StatisticInfo::getDesc | ( | ) | [inline] |
Return the Description of the Statistic.
References SST::ElementInfoStatistic::description.
Referenced by outputStatisticInfo().
const uint8_t SST::SSTInfoElement_StatisticInfo::getEnableLevel | ( | ) | [inline] |
Return the enable level of the Statistic.
References SST::ElementInfoStatistic::enableLevel.
Referenced by outputStatisticInfo().
const char* SST::SSTInfoElement_StatisticInfo::getName | ( | ) | [inline] |
Return the Name of the Statistic.
References SST::ElementInfoStatistic::name.
Referenced by outputStatisticInfo().
const char* SST::SSTInfoElement_StatisticInfo::getUnits | ( | ) | [inline] |
Return the Units of the Statistic.
References SST::ElementInfoStatistic::units.
Referenced by outputStatisticInfo().
void SSTInfoElement_StatisticInfo::outputStatisticInfo | ( | int | Index | ) |
Output the Statistic Information.
Index | The Index of the Statistic. |
References getDesc(), getEnableLevel(), getName(), and getUnits().
Referenced by SST::SSTInfoElement_ComponentInfo::outputComponentInfo(), and SST::SSTInfoElement_SubComponentInfo::outputSubComponentInfo().