source: branches/removing_cpp11_features/mtemp/mwuerzburg/tools/dcconverter/DCCurrentEvent.h@ 18087

Last change on this file since 18087 was 4091, checked in by merck, 21 years ago
Merck: First commit to CVS
File size: 1018 bytes
Line 
1// DCCurrentEvent.h: Schnittstelle für die Klasse DCCurrentEvent.
2//
3//////////////////////////////////////////////////////////////////////
4
5#if !defined(DCCURRENTEVENT_INCLUDED)
6#define DCCURRENTEVENT_INCLUDED
7
8#include <ctime>
9#include <vector>
10#include <string>
11#include <istream>
12#include <ostream>
13
14class DCCurrentEvent
15{
16 friend std::istream& operator >> ( std::istream& in, DCCurrentEvent& event );
17 friend std::ostream& operator << ( std::ostream& out, const DCCurrentEvent& event );
18
19private:
20 int m_dcError1;
21 int m_dcError2;
22 int m_dcHour;
23 int m_dcMin;
24 int m_dcSec;
25 int m_dcMSec;
26 time_t m_dcTime;
27 std::string m_dcCurr;
28 std::vector<int> m_dcValues;
29
30public:
31 DCCurrentEvent();
32 virtual ~DCCurrentEvent();
33};
34
35std::istream& operator >> ( std::istream& in, DCCurrentEvent& event );
36std::ostream& operator << ( std::ostream& out, const DCCurrentEvent& event );
37
38#endif // !defined(DCCURRENTEVENT_INCLUDED)
Note: See TracBrowser for help on using the repository browser.