CGMES_3_0_0
Loading...
Searching...
No Matches
ReportingGroup.hpp
1#ifndef ReportingGroup_H
2#define ReportingGroup_H
3/*
4Generated from the CGMES files via cimgen: https://github.com/sogno-platform/cimgen
5*/
6
7#include <list>
8#include <map>
9#include <string>
10#include <unordered_map>
11
12#include "IdentifiedObject.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17
18namespace CIMPP
19{
20 class BusNameMarker;
21 class TopologicalNode;
22
24 class ReportingGroup : public IdentifiedObject
25 {
26 public:
27 /* constructor initialising all attributes to null */
28 ReportingGroup();
29 ~ReportingGroup() override;
30
32 std::list<CIMPP::BusNameMarker*> BusNameMarker;
33
35 std::list<CIMPP::TopologicalNode*> TopologicalNode;
36
37 static const char debugName[];
38 const char* debugString() const override;
39
40 const std::list<std::string>& getAttributeNames() const override;
41
42 const std::string& getClassNamespaceUrl() const override;
43 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
44
45 const std::list<CGMESProfile>& getPossibleProfiles() const override;
46 const CGMESProfile& getRecommendedProfile() const override;
47 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
48 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
49
50 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
51 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
52 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
53 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
54 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
55 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
56
57 bool isAssignableFrom(BaseClass* otherObject) const override;
58 static const BaseClassDefiner declare();
59
60 protected:
61 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
62 };
63
64 BaseClass* ReportingGroup_factory();
65}
66#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Used to apply user standard names to TopologicalNodes. Associated with one or more terminals that are...
Definition BusNameMarker.hpp:26
std::list< CIMPP::TopologicalNode * > TopologicalNode
The topological nodes that belong to the reporting group. Default: {}.
Definition ReportingGroup.hpp:35
std::list< CIMPP::BusNameMarker * > BusNameMarker
The bus name markers that belong to this reporting group. Default: {}.
Definition ReportingGroup.hpp:32
For a detailed substation model a topological node is a set of connectivity nodes that,...
Definition TopologicalNode.hpp:31