CGMES_3_0_0
Loading...
Searching...
No Matches
RegularTimePoint.hpp
1#ifndef RegularTimePoint_H
2#define RegularTimePoint_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 "Float.hpp"
18#include "Integer.hpp"
19
20namespace CIMPP
21{
23
25 class RegularTimePoint : public BaseClass
26 {
27 public:
28 /* constructor initialising all attributes to null */
29 RegularTimePoint();
30 ~RegularTimePoint() override;
31
34
37
40
43
44 static const char debugName[];
45 const char* debugString() const override;
46
47 const std::list<std::string>& getAttributeNames() const override;
48
49 const std::string& getClassNamespaceUrl() const override;
50 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
51
52 const std::list<CGMESProfile>& getPossibleProfiles() const override;
53 const CGMESProfile& getRecommendedProfile() const override;
54 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
55 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
56
57 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
58 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
59 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
60 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
61 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
62 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
63
64 bool isAssignableFrom(BaseClass* otherObject) const override;
65 static const BaseClassDefiner declare();
66
67 protected:
68 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
69 };
70
71 BaseClass* RegularTimePoint_factory();
72}
73#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
A floating point number. The range is unspecified and not limited.
Definition Float.hpp:14
Definition Integer.hpp:13
The schedule has time points where the time between them is constant.
Definition RegularIntervalSchedule.hpp:26
CIMPP::RegularIntervalSchedule * IntervalSchedule
Regular interval schedule containing this time point. Default: nullptr.
Definition RegularTimePoint.hpp:33
CIMPP::Float value1
The first value at the time. The meaning of the value is defined by the derived type of the associate...
Definition RegularTimePoint.hpp:39
CIMPP::Float value2
The second value at the time. The meaning of the value is defined by the derived type of the associat...
Definition RegularTimePoint.hpp:42
CIMPP::Integer sequenceNumber
The position of the regular time point in the sequence. Note that time points dont have to be sequent...
Definition RegularTimePoint.hpp:36