CGMES_3_0_0
Loading...
Searching...
No Matches
CurveData.hpp
1#ifndef CurveData_H
2#define CurveData_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
19namespace CIMPP
20{
21 class Curve;
22
24 class CurveData : public BaseClass
25 {
26 public:
27 /* constructor initialising all attributes to null */
28 CurveData();
29 ~CurveData() override;
30
33
36
39
42
43 static const char debugName[];
44 const char* debugString() const override;
45
46 const std::list<std::string>& getAttributeNames() const override;
47
48 const std::string& getClassNamespaceUrl() const override;
49 const std::string& getAttributeNamespaceUrl(const std::string& attrName) const override;
50
51 const std::list<CGMESProfile>& getPossibleProfiles() const override;
52 const CGMESProfile& getRecommendedProfile() const override;
53 const std::list<CGMESProfile>& getPossibleAttributeProfiles(const std::string& attrName) const override;
54 const std::list<CGMESProfile>& getPossibleProfilesIncludingAttributes() const override;
55
56 static void addConstructToMap(std::unordered_map<std::string, BaseClass* (*)()>& factory_map);
57 static void addPrimitiveAssignFnsToMap(std::unordered_map<std::string, assign_function>& assign_map);
58 static void addClassAssignFnsToMap(std::unordered_map<std::string, class_assign_function>& assign_map);
59 void addPrimitiveGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
60 void addClassGetFnsToMap(std::map<std::string, class_get_function>& get_map) const override;
61 void addEnumGetFnsToMap(std::map<std::string, get_function>& get_map) const override;
62
63 bool isAssignableFrom(BaseClass* otherObject) const override;
64 static const BaseClassDefiner declare();
65
66 protected:
67 std::map<std::string, AttrDetails> allAttrDetailsMap() const override;
68 };
69
70 BaseClass* CurveData_factory();
71}
72#endif
Definition BaseClass.hpp:22
Definition BaseClassDefiner.hpp:12
CIMPP::Float xvalue
The data value of the X-axis variable, depending on the X-axis units. Default: 0.0.
Definition CurveData.hpp:35
CIMPP::Float y2value
The data value of the second Y-axis variable (if present), depending on the Y-axis units....
Definition CurveData.hpp:41
CIMPP::Float y1value
The data value of the first Y-axis variable, depending on the Y-axis units. Default: 0....
Definition CurveData.hpp:38
CIMPP::Curve * Curve
The curve of this curve data point. Default: nullptr.
Definition CurveData.hpp:32
A multi-purpose curve or functional relationship between an independent variable (X-axis) and depende...
Definition Curve.hpp:26
A floating point number. The range is unspecified and not limited.
Definition Float.hpp:14