IEC61970 16v29a - IEC61968 12v08
16v29a_12v08
refactored
IEC61970
Base
Domain
Integer.h
1
#ifndef INTEGER_H
2
#define INTEGER_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
Integer
18
{
19
20
public
:
21
Integer
();
22
virtual
~
Integer
();
23
24
Integer
(
long
int
value);
25
Integer
& operator=(
long
int
&rop);
26
Integer
& operator+=(
const
Integer
& rhs);
27
Integer
& operator-=(
const
Integer
& rhs);
28
Integer
& operator*=(
const
Integer
& rhs);
29
Integer
& operator/=(
const
Integer
& rhs);
30
friend
std::istream& operator>>(std::istream& lop,
Integer
& rop);
31
operator
long
int();
32
33
long
int
value = 0;
34
bool
initialized =
false
;
35
36
};
37
38
}
39
40
}
41
42
}
43
#endif // INTEGER_H
IEC61970::Base::Domain::Integer
Definition:
Integer.h:17
IEC61970
Definition:
AuxiliaryEquipment.h:13
Generated by
1.8.13