13#ifndef SST_CORE_PYTHON_CONFIG_OUTPUT_H
14#define SST_CORE_PYTHON_CONFIG_OUTPUT_H
16#include "sst/core/configGraphOutput.h"
17#include "sst/core/model/configGraph.h"
25class PythonConfigGraphOutput :
public ConfigGraphOutput
28 explicit PythonConfigGraphOutput(
const char* path);
34 void generateParams(
const Params& params);
35 void generateCommonComponent(
const char* objName,
const ConfigComponent* comp);
36 void generateSubComponent(
const char* owner,
const ConfigComponent* comp);
37 void generateComponent(
const ConfigComponent* comp,
bool output_parition_info);
39 void generateCommonLink(
const char* objName,
const ConfigComponent* comp);
40 void generateSubComponentLinks(
const char* objName,
const ConfigComponent* comp);
43 const std::string& getLinkObject(LinkId_t
id,
const std::string& name,
bool no_cut);
46 char* makePythonSafeWithPrefix(
const std::string& name,
const std::string& prefix)
const;
47 void makeBufferPythonSafe(
char* buffer)
const;
48 char* makeEscapeSafe(
const std::string& input)
const;
49 bool strncmp(
const char* a,
const char* b,
const size_t n)
const;
50 bool isMultiLine(
const char* check)
const;
51 bool isMultiLine(
const std::string& check)
const;
55 std::map<LinkId_t, std::string> link_map_;
56 std::string py_parent_name_;
57 std::map<StatisticId_t, std::string> shared_stat_map_;
Represents the configuration of a generic component.
Definition configComponent.h:83
A Configuration Graph A graph representing Components and Links.
Definition configGraph.h:76
Definition configStatistic.h:82
Class to contain SST Simulation Configuration variables.
Definition config.h:52
virtual void generate(const Config *cfg, ConfigGraph *graph) override
Definition pythonConfigOutput.cc:364
Parameter store.
Definition params.h:65