SST::SSTInfoElement_StatisticInfo Class Reference

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.

Detailed Description

The SSTInfo representation of ElementInfoPort object.

This class is used internally by SSTInfo to load and process ElementInfoPort objects.


Constructor & Destructor Documentation

SST::SSTInfoElement_StatisticInfo::SSTInfoElement_StatisticInfo ( const ElementInfoStatistic elstat  )  [inline]

Create a new SSTInfoElement_StatisticInfo object.

Parameters:
elstat Pointer to an ElementInfoStatistic object.

Member Function Documentation

void SSTInfoElement_StatisticInfo::generateStatisticXMLData ( int  Index,
TiXmlNode *  XMLParentElement 
)

Create the formatted XML data of the Statistic.

Parameters:
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.

Parameters:
Index The Index of the Statistic.

References getDesc(), getEnableLevel(), getName(), and getUnits().

Referenced by SST::SSTInfoElement_ComponentInfo::outputComponentInfo(), and SST::SSTInfoElement_SubComponentInfo::outputSubComponentInfo().


The documentation for this class was generated from the following files:

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1