IEC61970 17v07
DateTime.h
1 #ifndef DATETIME_H
2 #define DATETIME_H
3 
4 #include "IEC61970/Base/Domain/String.h"
5 #include <string>
6 #include <iostream>
7 #include <istream>
8 
9 namespace IEC61970
10 {
11  namespace Base
12  {
13  namespace Domain
14  {
22  class DateTime
23  {
24 
25  public:
26  DateTime();
27  virtual ~DateTime();
28 
29  DateTime(IEC61970::Base::Domain::String value);
30  DateTime& operator=(IEC61970::Base::Domain::String &rop);
31  friend std::istream& operator>>(std::istream& lop, DateTime& rop);
32  operator IEC61970::Base::Domain::String();
33 
34 
35 
36  IEC61970::Base::Domain::String value;
37  bool initialized = false;
38  };
39 
40  }
41 
42  }
43 
44 }
45 #endif // DATETIME_H
Definition: AuxiliaryEquipment.h:13
Definition: DateTime.h:22