SST  8.0.0
StructuralSimulationToolkit
jsonConfigOutput.h
1 // Copyright 2009-2018 NTESS. Under the terms
2 // of Contract DE-NA0003525 with NTESS, the U.S.
3 // Government retains certain rights in this software.
4 //
5 // Copyright (c) 2009-2018, NTESS
6 // All rights reserved.
7 //
8 // This file is part of the SST software package. For license
9 // information, see the LICENSE file in the top level directory of the
10 // distribution.
11 //
12 
13 #ifndef _SST_CORE_CONFIG_OUTPUT_JSON
14 #define _SST_CORE_CONFIG_OUTPUT_JSON
15 
16 #include <sst/core/configGraph.h>
17 #include <sst/core/configGraphOutput.h>
18 
19 namespace SST {
20 namespace Core {
21 
23 public:
24  JSONConfigGraphOutput(const char* path);
25  virtual void generate(const Config* cfg,
26  ConfigGraph* graph) throw(ConfigGraphOutputException) override;
27 protected:
28  void generateJSON(const std::string indent, const ConfigComponent& comp,
29  const ConfigLinkMap_t& linkMap) const;
30 };
31 
32 }
33 }
34 
35 #endif
Definition: jsonConfigOutput.h:22
Definition: configGraphOutput.h:41
Class to contain SST Simulation Configuration variables.
Definition: config.h:31
Represents the configuration of a generic component.
Definition: configGraph.h:195
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:294
Definition: configGraphOutput.h:26