IEC61970 16v29a - SINERGIEN 20170705
Float.h
1 #ifndef FLOAT_H
2 #define FLOAT_H
3 
4 #include <string>
5 #include <iostream>
6 #include <istream>
7 
8 namespace IEC61970
9 {
10  namespace Base
11  {
12  namespace Domain
13  {
17  class Float
18  {
19 
20  public:
21  Float();
22  virtual ~Float();
23 
24  Float(long double value);
25  Float& operator=(long double &rop);
26  Float& operator+=(const Float& rhs);
27  Float& operator-=(const Float& rhs);
28  Float& operator*=(const Float& rhs);
29  Float& operator/=(const Float& rhs);
30  friend std::istream& operator>>(std::istream& lop, Float& rop);
31  operator long double();
32 
33  long double value = 0.0;
34  bool initialized = false;
35 
36  };
37 
38  }
39 
40  }
41 
42 }
43 #endif // FLOAT_H
Definition: AuxiliaryEquipment.h:13
Definition: Float.h:17