The SSTInfo representation of ElementInfoSubComponent object. More...
#include <sstinfo.h>
Public Member Functions | |
SSTInfoElement_SubComponentInfo (const ElementInfoSubComponent *elsc) | |
Create a new SSTInfoElement_SubComponentInfo object. | |
const char * | getName () |
Return the Name of the SubComponent. | |
const char * | getDesc () |
Return the Description of the SubComponent. | |
SSTInfoElement_ParamInfo * | getParamInfo (int index) |
Return a Parameter Info Object. | |
SSTInfoElement_StatisticInfo * | getStatisticInfo (int index) |
Return a Statistic Enable Info Object. | |
void | outputSubComponentInfo (int Index) |
Output the SubComponent Information. | |
void | generateSubComponentInfoXMLData (int Index, TiXmlNode *XMLParentElement) |
Create the formatted XML data of the Component. |
The SSTInfo representation of ElementInfoSubComponent object.
This class is used internally by SSTInfo to load and process ElementInfoSubComponent objects.
SST::SSTInfoElement_SubComponentInfo::SSTInfoElement_SubComponentInfo | ( | const ElementInfoSubComponent * | elsc | ) | [inline] |
Create a new SSTInfoElement_SubComponentInfo object.
elsc | Pointer to an ElementInfoComponent object. |
References SST::ElementInfoSubComponent::params, and SST::ElementInfoSubComponent::stats.
void SSTInfoElement_SubComponentInfo::generateSubComponentInfoXMLData | ( | int | Index, | |
TiXmlNode * | XMLParentElement | |||
) |
Create the formatted XML data of the Component.
Index | The Index of the Component. | |
XMLParentElement | The parent element to receive the XML data. |
References SST::SSTInfoElement_ParamInfo::generateParameterInfoXMLData(), SST::SSTInfoElement_StatisticInfo::generateStatisticXMLData(), getDesc(), getName(), getParamInfo(), and getStatisticInfo().
const char* SST::SSTInfoElement_SubComponentInfo::getDesc | ( | ) | [inline] |
Return the Description of the SubComponent.
References SST::ElementInfoSubComponent::description.
Referenced by generateSubComponentInfoXMLData(), and outputSubComponentInfo().
const char* SST::SSTInfoElement_SubComponentInfo::getName | ( | ) | [inline] |
Return the Name of the SubComponent.
References SST::ElementInfoSubComponent::name.
Referenced by generateSubComponentInfoXMLData(), and outputSubComponentInfo().
SSTInfoElement_ParamInfo* SST::SSTInfoElement_SubComponentInfo::getParamInfo | ( | int | index | ) | [inline] |
Return a Parameter Info Object.
index | The index of the Parameter. |
Referenced by generateSubComponentInfoXMLData(), and outputSubComponentInfo().
SSTInfoElement_StatisticInfo* SST::SSTInfoElement_SubComponentInfo::getStatisticInfo | ( | int | index | ) | [inline] |
Return a Statistic Enable Info Object.
index | The index of the Statistic Enable. |
Referenced by generateSubComponentInfoXMLData(), and outputSubComponentInfo().
void SSTInfoElement_SubComponentInfo::outputSubComponentInfo | ( | int | Index | ) |
Output the SubComponent Information.
Index | The Index of the SubComponent. |
References getDesc(), getName(), getParamInfo(), getStatisticInfo(), SST::SSTInfoElement_ParamInfo::outputParameterInfo(), and SST::SSTInfoElement_StatisticInfo::outputStatisticInfo().
Referenced by SST::SSTInfoElement_LibraryInfo::outputLibraryInfo().