CGMES_3_0_0
Loading...
Searching...
No Matches
PhaseCode.hpp
1#ifndef PhaseCode_H
2#define PhaseCode_H
3/*
4Generated from the CGMES files via cimgen: https://github.com/sogno-platform/cimgen
5*/
6
7#include <istream>
8#include <ostream>
9
10namespace CIMPP
11{
13 class PhaseCode
14 {
15 public:
71
72 PhaseCode() : value(), initialized(false) {}
73 PhaseCode(PhaseCode_ENUM value) : value(value), initialized(true) {}
74
75 PhaseCode& operator=(PhaseCode_ENUM rop);
76 operator PhaseCode_ENUM() const;
77
78 PhaseCode_ENUM value;
79 bool initialized;
80
81 static const char debugName[];
82 const char* debugString() const;
83
84 friend std::istream& operator>>(std::istream& lop, PhaseCode& rop);
85 friend std::ostream& operator<<(std::ostream& os, const PhaseCode& obj);
86 };
87}
88#endif
An unordered enumeration of phase identifiers. Allows designation of phases for both transmission and...
Definition PhaseCode.hpp:14
PhaseCode_ENUM
Definition PhaseCode.hpp:17
@ X
Definition PhaseCode.hpp:63
@ BCN
Definition PhaseCode.hpp:27
@ XYN
Definition PhaseCode.hpp:69
@ CN
Definition PhaseCode.hpp:39
@ none
Definition PhaseCode.hpp:61
@ C
Definition PhaseCode.hpp:45
@ s1N
Definition PhaseCode.hpp:49
@ BC
Definition PhaseCode.hpp:33
@ AC
Definition PhaseCode.hpp:31
@ ABC
Definition PhaseCode.hpp:21
@ s12N
Definition PhaseCode.hpp:53
@ s12
Definition PhaseCode.hpp:59
@ XY
Definition PhaseCode.hpp:65
@ AN
Definition PhaseCode.hpp:35
@ s2
Definition PhaseCode.hpp:57
@ ACN
Definition PhaseCode.hpp:25
@ ABN
Definition PhaseCode.hpp:23
@ ABCN
Definition PhaseCode.hpp:19
@ s2N
Definition PhaseCode.hpp:51
@ BN
Definition PhaseCode.hpp:37
@ XN
Definition PhaseCode.hpp:67
@ AB
Definition PhaseCode.hpp:29
@ s1
Definition PhaseCode.hpp:55
@ B
Definition PhaseCode.hpp:43
@ N
Definition PhaseCode.hpp:47
@ A
Definition PhaseCode.hpp:41