CGMES_3_0_0
Loading...
Searching...
No Matches
AngleDegrees.hpp
1#ifndef AngleDegrees_H
2#define AngleDegrees_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 AngleDegrees
14 {
15 public:
16 AngleDegrees() : value(0.0), initialized(false) {}
17 AngleDegrees(long double value) : value(value), initialized(true) {}
18
19 AngleDegrees& operator=(long double rop);
20 operator long double() const;
21
22 long double value;
23 bool initialized;
24
25 static const char debugName[];
26 const char* debugString() const;
27
28 AngleDegrees& operator+=(const AngleDegrees& rhs);
29 AngleDegrees& operator-=(const AngleDegrees& rhs);
30 AngleDegrees& operator*=(const AngleDegrees& rhs);
31 AngleDegrees& operator/=(const AngleDegrees& rhs);
32
33 friend std::istream& operator>>(std::istream& lop, AngleDegrees& rop);
34 friend std::ostream& operator<<(std::ostream& os, const AngleDegrees& obj);
35 };
36}
37#endif