SST 15.0
Structural Simulation Toolkit
dotConfigOutput.h
1// Copyright 2009-2025 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-2025, 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_DOT_CONFIG_OUTPUT_H
14#define SST_CORE_DOT_CONFIG_OUTPUT_H
15
16#include "sst/core/configGraph.h"
17#include "sst/core/configGraphOutput.h"
18
19#include <cstdint>
20
21namespace SST::Core {
22
23class DotConfigGraphOutput : public ConfigGraphOutput
24{
25public:
26 explicit DotConfigGraphOutput(const char* path);
27 virtual void generate(const Config* cfg, ConfigGraph* graph) override;
28
29protected:
30 void generateDot(const ConfigComponent* comp, const ConfigLinkMap_t& linkMap, const uint32_t dot_verbosity) const;
31 void generateDot(const ConfigComponent* comp, const ConfigLinkMap_t& linkMap, const uint32_t dot_verbosity,
32 const ConfigComponent* parent) const;
33 void generateDot(const ConfigLink* link, const uint32_t dot_verbosity) const;
34};
35
36} // namespace SST::Core
37
38#endif // SST_CORE_DOT_CONFIG_OUTPUT_H
Represents the configuration of a generic component.
Definition configGraph.h:263
A Configuration Graph A graph representing Components and Links.
Definition configGraph.h:450
Class to contain SST Simulation Configuration variables.
Definition config.h:41
virtual void generate(const Config *cfg, ConfigGraph *graph) override
Definition dotConfigOutput.cc:27