DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EPokuta.h
Go to the documentation of this file.
1 #ifndef EPOKUTA_H
2 #define EPOKUTA_H
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/dataoutput/EAbstraktnyZaznam.h"
6 
7 namespace EM
8 {
9  namespace Strojcek
10  {
11  namespace StatistikaStrojcek
12  {
13  class EKontrola;
14 
16  {
17  public:
18  enum Platba
19  {
20  prNeudelena = 0, // 0=pokuta nie je udelena
21  prHotovost = 1, // 1= zaplaena v hotovosti
22  prNezaplatena = 2 // 2= pokuta udelena, nezaplatena
23  };
24 
25  EPokuta();
26  EPokuta( EPokuta &pokuta );
27  virtual ~EPokuta();
28 
29  unsigned long getPokutaSuma();
30  unsigned char getPokutaPlatba();
31  unsigned char getPokutaStatus();
32 
33  void setPokutaSuma( long newVal );
34  void setPokutaPlatba( unsigned char newVal );
35  void setPokutaStatus( unsigned char newVal );
36 
37  EKontrola *getOwner();
38  void setOwner( EKontrola *newVal );
39 
40  virtual short getChksum();
41 
42  bool write();
43  bool read();
44 
45  private:
46  class DataClass;
47  DataClass *d;
48  };
49  }
50  }
51 }
52 
53 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
Definition: EAbstraktnyZaznam.h:16
#define DATAIO_API
Definition: DataIODefines.h:10