CGMES_3_0_0
Loading...
Searching...
No Matches
StreetDetail.hpp
1#ifndef StreetDetail_H
2#define StreetDetail_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 "BaseClass.hpp"
13#include "BaseClassDefiner.hpp"
14#include "CGMESProfile.hpp"
15#include "CimClassDetails.hpp"
16
17#include "Boolean.hpp"
18#include "String.hpp"
19
20namespace CIMPP
21{
22
24 class StreetDetail : public BaseClass
25 {
26 public:
27 /* constructor initialising all attributes to null */
28 StreetDetail();
29 ~StreetDetail() override;
30
33
36
39
42
45
48
51
54
57
60
63
66
69
70 static const char debugName[];
71 const char* debugString() const override;
72
73 const std::list<std::string>& getAttributeNames() const override;
74
75 const std::string& getClassNamespaceUrl() const override;
76 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
77
78 const std::list<CGMESProfile>& getPossibleProfiles() const override;
79 const CGMESProfile& getRecommendedProfile() const override;
80 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
81 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
82
83 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
84 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
85 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
86 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
87 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
88 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
89
90 bool isAssignableFrom(BaseClass* otherObject) const override;
91 static const BaseClassDefiner declare();
92
93 protected:
94 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
95 };
96
97 BaseClass* StreetDetail_factory();
98}
99#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
Definition Boolean.hpp:13
CIMPP::String buildingName
(if applicable) In certain cases the physical location of the place of interest does not have a direc...
Definition StreetDetail.hpp:41
CIMPP::String code
(if applicable) Utilities often make use of external reference systems, such as those of the town-pla...
Definition StreetDetail.hpp:44
CIMPP::Boolean withinTownLimits
True if this street is within the legal geographical boundaries of the specified town (default)....
Definition StreetDetail.hpp:68
CIMPP::String addressGeneral
First line of a free form address or some additional address information (for example a mail stop)....
Definition StreetDetail.hpp:32
CIMPP::String type
Type of street. Examples include: street, circle, boulevard, avenue, road, drive, etc....
Definition StreetDetail.hpp:65
CIMPP::String suffix
Suffix to the street name. For example: North, South, East, West. Default: "".
Definition StreetDetail.hpp:59
CIMPP::String prefix
Prefix to the street name. For example: North, South, East, West. Default: "".
Definition StreetDetail.hpp:56
CIMPP::String addressGeneral2
(if applicable) Second line of a free form address. Default: ""
Definition StreetDetail.hpp:35
CIMPP::String name
Name of the street. Default: "".
Definition StreetDetail.hpp:50
CIMPP::String addressGeneral3
(if applicable) Third line of a free form address. Default: ""
Definition StreetDetail.hpp:38
CIMPP::String suiteNumber
Number of the apartment or suite. Default: "".
Definition StreetDetail.hpp:62
CIMPP::String number
Designator of the specific location on the street. Default: "".
Definition StreetDetail.hpp:53
CIMPP::String floorIdentification
The identification by name or number, expressed as text, of the floor in the building as part of this...
Definition StreetDetail.hpp:47
A string consisting of a sequence of characters. The character encoding is UTF-8. The string length i...
Definition String.hpp:15