Sen API
Sen Libraries
Loading...
Searching...
No Matches
plantuml.h
Go to the documentation of this file.
1// === plantuml.h ======================================================================================================
2// Sen Infrastructure
3// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4// See the LICENSE.txt file for more information.
5// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6// =====================================================================================================================
7
8#ifndef SEN_LIBS_GEN_INCLUDE_SEN_GEN_PLANTUML_H
9#define SEN_LIBS_GEN_INCLUDE_SEN_GEN_PLANTUML_H
10
13
14#include <memory>
15#include <string>
16
17namespace sen::gen
18{
19
27
34
38{
39 SEN_NOCOPY_NOMOVE(PlantUMLGenerator)
40
41public:
44
48 [[nodiscard]] std::string generate(const sen::lang::TypeSetContext& typeSets,
49 PlantUMLGenerationMode generationMode,
50 PlantUMLEnumMode enumMode);
51
52private:
53 class Impl;
54 std::unique_ptr<Impl> pimpl_;
55};
56
57} // namespace sen::gen
58
59#endif // SEN_LIBS_GEN_INCLUDE_SEN_GEN_PLANTUML_H
std::string generate(const sen::lang::TypeSetContext &typeSets, PlantUMLGenerationMode generationMode, PlantUMLEnumMode enumMode)
Renders one PlantUML document covering every type set in the supplied context. The two mode parameter...
The set of types used during resolution.
Definition stl_resolver.h:51
PlantUMLEnumMode
Controls whether enum types contribute their enumerators to the rendered diagram.
Definition plantuml.h:30
PlantUMLGenerationMode
Selects which subset of the type set ends up in the rendered diagram.
Definition plantuml.h:22
@ noEnumerators
Definition plantuml.h:32
@ all
Definition plantuml.h:23
@ onlyBasicTypes
Definition plantuml.h:25
@ onlyClasses
Definition plantuml.h:24
Definition cpp.h:21