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 )
#define LIBCARDEVENT_API
Definition LibCardEvent.h:13
__EPUBLIC __ECLASS LIBCARDEVENT_API CardEvent
The ancestor of all events. Contains common information for all events.
Definition cardevent.h:17
unsigned long GetValidFrom()
__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
void SetFileType(char type)
static int MergeCumulative(__ESTRING pathOld, __ESTRING pathUpd, unsigned long &maxEventNumberInUpdate)
void SetValidFrom(unsigned long from)
void GetBytes(__EBYTEARR __EDATAPTR __EVALREF idxFileBuffer, __EBYTEARR __EDATAPTR __EVALREF datFileBuffer, unsigned long __EVALREF idxFileSize, unsigned long __EVALREF datFileSize)
Definition cardeventcreator.cpp:162
unsigned long GetValidTo()
void Init(__ESTRING path)
static bool CleanEventFile(__ESTRING path)
void SetValidTo(unsigned long to)
~CardEventCreator()
Definition cardeventcreator.cpp:87
void AddCardEvent(CardEvent __EDATAPTR cardEvent)
Definition cardeventcreator.cpp:115
class CardEventDatFileManager __attribute__
#define __EPUBLIC
Definition managed_defines.h:20
#define __ECLASS
Definition managed_defines.h:17
#define __EVALREF
Definition managed_defines.h:15
#define __ESTRING
Definition managed_defines.h:16
#define __EBYTEARR
Definition managed_defines.h:22
#define __EDATAPTR
Definition managed_defines.h:14
Definition cardeventcreator.h:16
long long SNR
Definition cardeventcreator.h:17
unsigned long CardEventID
Definition cardeventcreator.h:18