AppCore
Loading...
Searching...
No Matches
OneWayTicketSnapshot.h
Go to the documentation of this file.
1#ifndef ONEWAYTICKETSNAPSHOT_H
2#define ONEWAYTICKETSNAPSHOT_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 ~OneWayTicketSnapshot();
28
29 void SetTicketType( const unsigned long type );
30 void SetData( const unsigned char ticketIndex, const std::string &snapshotData );
31
32 unsigned long GetTicketType() const;
33 bool GetData( const unsigned char ticketIndex , std::string &snapshotData ) const;
34
41 virtual bool Serialize( QDomDocument &doc, QDomElement &newElement ) const;
42
48 virtual bool Deserialize( const QDomElement &xmlElement );
49
50 };
51 }
52}
53
54#endif //ONEWAYTICKETSNAPSHOT_H
virtual void Deserialize(char *buffer)
virtual void Serialize(char *buffer)
#define DLL_API
Definition ECardFacadeDefines.h:8
Definition OneWayTicketSnapshot.h:17
Definition Snapshot.h:19
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7