IEC61970 16v29a
16v29a
refactored
IEC61970
Base
Domain
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
IEC61970
Definition:
AuxiliaryEquipment.h:13
IEC61970::Base::Domain::Float
Definition:
Float.h:17
Generated by
1.8.13