#include <TimeTicketSnapshot.h>
| INTERNAL TimeTicketSnapshot::TimeTicketSnapshot |
( |
| ) |
|
| TimeTicketSnapshot::~TimeTicketSnapshot |
( |
| ) |
|
|
virtual |
| bool TimeTicketSnapshot::Deserialize |
( |
const QDomElement & |
xmlElement | ) |
|
|
virtual |
Deserialize loads attributes and data from given XML element and sets snapshot members with its values.
- Parameters
-
| xmlElement | - reference to XML element with snapshot parameters and data (created with Serialize) |
- Returns
- false on data extraction error (e.g. failed to convert som data from text) or other error. True when loading values was successful.
Reimplemented from EM::TicketIssueLogic::Snapshot.
| const std::string & TimeTicketSnapshot::GetData |
( |
| ) |
const |
| unsigned char TimeTicketSnapshot::GetTicketIndex |
( |
| ) |
const |
| unsigned long TimeTicketSnapshot::GetTicketType |
( |
| ) |
const |
| bool TimeTicketSnapshot::Serialize |
( |
QDomDocument & |
doc, |
|
|
QDomElement & |
newElement |
|
) |
| const |
|
virtual |
Serialize saves snapshot into given xml element (Sets attributes and value/data)
- Parameters
-
| doc | - reference to instance of QDomDocument where element will be saved (used to create data node) |
| newElement | - reference to XML element to be filled with snapshot data |
- Returns
- true on successful serializtion (xml element filling), otherwise false
Reimplemented from EM::TicketIssueLogic::Snapshot.
| void TimeTicketSnapshot::SetData |
( |
const std::string & |
snapshotData | ) |
|
| void TimeTicketSnapshot::SetFlagEmptySlotUsed |
( |
| ) |
|
| void TimeTicketSnapshot::SetTicketIndex |
( |
const unsigned char |
ticketIndex | ) |
|
| void TimeTicketSnapshot::SetTicketType |
( |
const unsigned long |
type | ) |
|
| bool TimeTicketSnapshot::WasEmptySlotUsed |
( |
| ) |
const |
The documentation for this class was generated from the following files: