SST 12.1.0
Structural Simulation Toolkit
xmlConfigOutput.h
1// Copyright 2009-2022 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-2022, 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_XML_CONFIG_OUTPUT_H
14#define SST_CORE_XML_CONFIG_OUTPUT_H
15
16#include "sst/core/configGraph.h"
17#include "sst/core/configGraphOutput.h"
18
19namespace SST {
20namespace Core {
21
23{
24public:
25 XMLConfigGraphOutput(const char* path);
26 virtual void generate(const Config* cfg, ConfigGraph* graph) override;
27
28protected:
29 void generateXML(const std::string& indent, const ConfigComponent* comp, const ConfigLinkMap_t& linkMap) const;
30 void generateXML(const std::string& indent, const ConfigLink* link, const ConfigComponentMap_t& compMap) const;
31};
32
33} // namespace Core
34} // namespace SST
35
36#endif // SST_CORE_XML_CONFIG_OUTPUT_H
Represents the configuration of a generic component.
Definition: configGraph.h:218
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:390
Class to contain SST Simulation Configuration variables.
Definition: config.h:30
Definition: configGraphOutput.h:42
Definition: xmlConfigOutput.h:23