1 #ifndef __CARDEVENTCREATOR_H
2 #define __CARDEVENTCREATOR_H
4 #include "appcore/cardevent/cardeventdatfilemanager.h"
5 #include "appcore/cardevent/eventpurse.h"
6 #include "appcore/cardevent/EventPrepaidTicket.h"
7 #include "appcore/cardevent/eventblacklist.h"
8 #include "appcore/cardevent/EventPrepaidTicketZone.h"
9 #include "appcore/cardevent/EventPrepaidTicketRange.h"
10 #include "appcore/cardevent/deletedevent.h"
13 #pragma pack( push, 1 )
123 #endif //__CARDEVENTCREATOR_H
#define __ECLASS
Definition: managed_defines.h:17
#define __EVALREF
Definition: managed_defines.h:15
unsigned long GetValidTo()
#define LIBCARDEVENT_API
Definition: LibCardEvent.h:13
unsigned long CardEventID
Definition: cardeventcreator.h:18
void AddCardEvent(CardEvent __EDATAPTR cardEvent)
Definition: cardeventcreator.cpp:115
static int MergeCumulative(__ESTRING pathOld, __ESTRING pathUpd, unsigned long &maxEventNumberInUpdate)
~CardEventCreator()
Definition: cardeventcreator.cpp:87
struct DeletedEvents __attribute__((packed))
EEventTripTicketPr __EDATAPTR d
Definition: EEventTripTicket.h:96
static bool CleanEventFile(__ESTRING path)
#define __EBYTEARR
Definition: managed_defines.h:22
#define __ESTRING
Definition: managed_defines.h:16
void SetValidFrom(unsigned long from)
__EPUBLIC __ECLASS LIBCARDEVENT_API CardEventCreator
Class for composing event files. You can add events and then export as binary file.
Definition: cardeventcreator.h:34
__ECLASS CardEventCreatorPr
Definition: cardeventcreator.h:27
#define __EPUBLIC
Definition: managed_defines.h:20
__EPUBLIC __ECLASS LIBCARDEVENT_API CardEvent
The ancestor of all events. Contains common information for all events.
Definition: cardevent.h:17
void SetValidTo(unsigned long to)
void SetFileType(char type)
long long SNR
Definition: cardeventcreator.h:17
#define __EDATAPTR
Definition: managed_defines.h:14
unsigned long GetValidFrom()
Definition: cardeventcreator.h:15
void GetBytes(__EBYTEARR __EDATAPTR __EVALREF idxFileBuffer, __EBYTEARR __EDATAPTR __EVALREF datFileBuffer, unsigned long __EVALREF idxFileSize, unsigned long __EVALREF datFileSize)
Definition: cardeventcreator.cpp:162
void Init(__ESTRING path)