12 #ifndef SST_CORE_CONFIGGRAPH_OUTPUT_H 13 #define SST_CORE_CONFIGGRAPH_OUTPUT_H 15 #include "sst/core/configGraph.h" 16 #include "sst/core/params.h" 17 #include "sst/core/util/filesystem.h" 41 exMsg = (
char*)malloc(
sizeof(
char) * (strlen(msg) + 1));
42 std::strcpy(
exMsg, msg);
48 virtual const char*
what() const noexcept
override {
return exMsg; }
88 return Params::getSharedParamSet(name);
92 [[deprecated(
"getGlobalParamSet() has been deprecated and will be removed in SST 16. Please use " 93 "getSharedParamSet()")]]
94 static std::map<std::string, std::string> getGlobalParamSet(
const std::string& name)
107 [[deprecated(
"getGlobalParamSetNames() has been deprecated and will be removed in SST 16. Please use " 108 "getSharedParamSetNames()")]]
109 static std::vector<std::string> getGlobalParamSetNames()
134 return params.getSubscribedSharedParamSets();
137 [[deprecated(
"getSubscribedGlobalParamSets() has been deprecated and will be removed in SST 16. Please use " 138 "getSubscribedSharedParamSets()")]]
139 std::vector<std::string> getSubscribedGlobalParamSets(
const Params& params)
const 148 #endif // SST_CORE_CONFIGGRAPH_OUTPUT_H std::vector< std::string > getSubscribedSharedParamSets(const Params ¶ms) const
Get a vector of the shared param sets this Params object is subscribed to.
Definition: configGraphOutput.h:132
static std::map< std::string, std::string > getSharedParamSet(const std::string &name)
Get a named shared parameter set.
Definition: configGraphOutput.h:86
char * exMsg
Exception message generated on call.
Definition: configGraphOutput.h:55
Outputs configuration data to a specified file path.
Definition: configGraphOutput.h:61
Class to contain SST Simulation Configuration variables.
Definition: config.h:51
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:585
Exception handler class for graph configuration.
Definition: configGraphOutput.h:36
static std::vector< std::string > getSharedParamSetNames()
Get a vector of the names of available shared parameter sets.
Definition: configGraphOutput.h:105
virtual const char * what() const noexcept override
Definition: configGraphOutput.h:48
Parameter store.
Definition: params.h:63
std::vector< std::string > getParamsLocalKeys(const Params ¶ms) const
Get a vector of the local keys.
Definition: configGraphOutput.h:121
virtual void generate(const Config *cfg, ConfigGraph *graph)=0