IEC61970 16v29a - SINERGIEN 20170705
Decimal.h
1 // Decimal.h
3 // Implementation of the Class Decimal
4 // Original author: kdemaree
6 
7 #ifndef DECIMAL_H
8 #define DECIMAL_H
9 
10 #include "IEC61970/Base/Domain/String.h"
11 #include "IEC61970/Base/Domain/Integer.h"
12 #include "IEC61970/Base/Domain/Float.h"
13 
14 #include <istream>
15 
16 namespace IEC61970
17 {
18  namespace Base
19  {
20  namespace Domain
21  {
25  class Decimal
26  {
27 
28  public:
29  Decimal();
30  virtual ~Decimal();
31 
32  Decimal& operator=(IEC61970::Base::Domain::String &rop);
34  Decimal& operator=(IEC61970::Base::Domain::Float &rop);
35 
36  friend std::istream& operator>>(std::istream& lop, Decimal& rop);
37 
38  operator IEC61970::Base::Domain::String();
41 
42  IEC61970::Base::Domain::String value;
43 
44  };
45 
46  }
47 
48  }
49 
50 }
51 #endif // DECIMAL_H
Definition: Integer.h:17
Definition: Decimal.h:25
Definition: AuxiliaryEquipment.h:13
Definition: Float.h:17