DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ETarifnePasmo.h
Go to the documentation of this file.
1 #if !defined(AFX_ETARIFNEPASMO_H__6471BCFA_736E_4BAD_92EB_C9DD2EDD2D70__INCLUDED_)
2 #define AFX_ETARIFNEPASMO_H__6471BCFA_736E_4BAD_92EB_C9DD2EDD2D70__INCLUDED_
3 
4 #include "dataio/DataIODefines.h"
5 #include "dataio/datainput/ETarifyStruct.h"
6 #include "core/common/Node.h"
7 #include <vector>
8 
9 namespace EM
10 {
11  namespace Strojcek
12  {
13  namespace VstupneUdaje
14  {
15  namespace TarifnySystem
16  {
17  class ECasPrestupuCol;
18  class ECenaCol;
19  class ECena;
20  class ECasPrestupu;
21  class ERootTarifnySystem;
22  class ETarifnePasmoCol;
23 
24  class DATAIO_API ETarifnePasmo : public ENode
25  {
26  public:
27  ETarifnePasmo( ETarifnePasmoCol *owner, long cennikID, long cennikPlatnostID, unsigned char pasmoPoradie, const char *nazov, unsigned short interval );
28  virtual ~ETarifnePasmo();
29 
30  long GetCennikID();
31  unsigned char GetPasmoPoradie();
32  char *GetNazov();
33  unsigned short GetInterval();
34  long GetCennikPlatnostID();
35 
36  ETarifnePasmoCol *GetOwner();
37  ECasPrestupuCol *GetCasPrestupuCol();
38  ECenaCol *GetCenaCol();
39 
40  ECena *GetCenuByTypStlpcaID( unsigned short typStlpcaID );
41 
42  ECasPrestupu *AddCasPrestupu( unsigned short cas, unsigned short typStlpca, unsigned char pasmoid );
43 
44  void SetRiadokZony( unsigned char riadokZony[RIADOK_ZONY_ARRAY_SIZE] );
45  bool GetRiadokZony( unsigned char *riadokZony, unsigned short size = RIADOK_ZONY_ARRAY_SIZE );
46  bool CheckBite( unsigned char zoneNumber );
47  bool GetRiadokZony_Vector( std::vector<short> &riadokZony_Vector );
48 
49  ETarifnePasmo *GetLeft();
50  ETarifnePasmo *GetRight();
51 
52  private:
53  class DataClass;
54  DataClass *d;
55  };
56  }
57  }
58  }
59 }
60 
61 #endif
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
#define RIADOK_ZONY_ARRAY_SIZE
Definition: ETarifyStruct.h:132
#define DATAIO_API
Definition: DataIODefines.h:10