AppCore
Loading...
Searching...
No Matches
TimeTicketSnapshot.h
Go to the documentation of this file.
1#ifndef TIMETICKETSNAPSHOT_H
2#define TIMETICKETSNAPSHOT_H
3
4// SYSTEM INCLUDES
5#include <string>
6#include <vector>
7
8// BASE INCLUDES
9#include "Snapshot.h"
10#include "../ETicketIssueLogicDefines.h"
11
12namespace EM
13{
14 namespace TicketIssueLogic
15 {
17 {
19
20 class DataClass;
21 DataClass *d;
22
24
25 public:
27 virtual ~TimeTicketSnapshot();
28
29 void SetTicketType( const unsigned long type );
30 void SetTicketIndex( const unsigned char ticketIndex );
31 void SetData( const std::string &snapshotData );
32 void SetFlagEmptySlotUsed();
33
34 unsigned long GetTicketType() const;
35 unsigned char GetTicketIndex() const;
36 const std::string &GetData() const;
37 bool WasEmptySlotUsed() const;
38
45 virtual bool Serialize( QDomDocument &doc, QDomElement &newElement ) const;
46
52 virtual bool Deserialize( const QDomElement &xmlElement );
53
54 };
55 }
56}
57
58#endif //TIMETICKETSNAPSHOT_H
virtual void Deserialize(char *buffer)
virtual void Serialize(char *buffer)
#define DLL_API
Definition ECardFacadeDefines.h:8
Definition Snapshot.h:19
Definition TimeTicketSnapshot.h:17
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7