FSMSADF::StorageDistribution Class Reference
#include <type.h>
Public Member Functions | |
void | constructFromXML (const CNodePtr storageDistributionNode) |
void | convertToXML (const CNodePtr storageDistributionNode) |
Size | getSize () const |
Throughput | getThroughput () const |
void | setThroughput (const Throughput thr) |
Size & | operator[] (GraphComponent *c) |
const Size | operator[] (GraphComponent *c) const |
bool | operator< (const StorageDistribution &s) const |
Private Attributes | |
Throughput | throughput |
Member Function Documentation
void FSMSADF::StorageDistribution::constructFromXML | ( | const CNodePtr | storageDistributionNode | ) |
constructFromXML() Create a storage distribution from the XML data.
References CGetAttribute(), CGetChildNode(), CHasAttribute(), CNextNode(), and setThroughput().
Referenced by FSMSADF::StorageDistributions::constructFromXML().
void FSMSADF::StorageDistribution::convertToXML | ( | const CNodePtr | storageDistributionNode | ) |
convertToXML() Convert the storage distribution to XML data.
References CAddAttribute(), CAddNode(), getSize(), throughput, and CFraction::value().
Referenced by FSMSADF::StorageDistributions::convertToXML().
Size FSMSADF::StorageDistribution::getSize | ( | void | ) | const [inline] |
Referenced by convertToXML().
Throughput FSMSADF::StorageDistribution::getThroughput | ( | ) | const [inline] |
References throughput.
Referenced by FSMSADF::MemoryDimAlgo::estimateStorageDist(), and operator<().
bool FSMSADF::StorageDistribution::operator< | ( | const StorageDistribution & | s | ) | const [inline] |
Size& FSMSADF::StorageDistribution::operator[] | ( | GraphComponent * | c | ) | [inline] |
const Size FSMSADF::StorageDistribution::operator[] | ( | GraphComponent * | c | ) | const [inline] |
void FSMSADF::StorageDistribution::setThroughput | ( | const Throughput | thr | ) | [inline] |
References throughput.
Referenced by FSMSADF::MemoryDimAlgo::computeStorageDist(), and constructFromXML().
Member Data Documentation
Referenced by convertToXML(), getThroughput(), and setThroughput().
The documentation for this class was generated from the following files: