The Sparta Modeling Framework
|
Utility class that holds onto statistics node hierarchies, accessible by a name that you choose. More...
#include <StatisticsHierRootNodes.hpp>
Public Member Functions | |
void | addHierarchyRoot (const std::string &storage_name, std::shared_ptr< StorageT > &root) |
Append a statistics hierarchy root node to this set. | |
std::vector< std::string > | getRootNames () const |
Access the root node names in this set. | |
void | mapRootNameToReportFilename (const std::string &root_name, const std::string &report_filename) const |
StorageT * | getRootByName (const std::string &root_name) |
Utility class that holds onto statistics node hierarchies, accessible by a name that you choose.
Definition at line 18 of file StatisticsHierRootNodes.hpp.
|
inlinevirtual |
Definition at line 21 of file StatisticsHierRootNodes.hpp.
|
inline |
Append a statistics hierarchy root node to this set.
Definition at line 24 of file StatisticsHierRootNodes.hpp.
|
inline |
Ask for a hierarchy root node by name. The name should be one that you originally gave to addHierarchyRoot(), or this method will return null.
Definition at line 59 of file StatisticsHierRootNodes.hpp.
|
inline |
Access the root node names in this set.
Definition at line 36 of file StatisticsHierRootNodes.hpp.
|
inline |
Maintain a mapping from report filenames like 'out.csv' to the equivalent root name like 'out_csv'. This is to support tab completion for Python shell users (Python won't allow dots in node names).
Definition at line 50 of file StatisticsHierRootNodes.hpp.