#include <TimeTicketSnapshot.h>
◆ TimeTicketSnapshot()
| INTERNAL TimeTicketSnapshot::TimeTicketSnapshot |
( |
| ) |
|
◆ ~TimeTicketSnapshot()
| TimeTicketSnapshot::~TimeTicketSnapshot |
( |
| ) |
|
|
virtual |
◆ Deserialize()
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.
◆ GetData()
| const std::string & TimeTicketSnapshot::GetData |
( |
| ) |
const |
◆ GetTicketIndex()
◆ GetTicketType()
◆ Serialize()
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.
◆ SetData()
| void TimeTicketSnapshot::SetData |
( |
const std::string & |
snapshotData | ) |
|
◆ SetFlagEmptySlotUsed()
| void TimeTicketSnapshot::SetFlagEmptySlotUsed |
( |
| ) |
|
◆ SetTicketIndex()
◆ SetTicketType()
◆ WasEmptySlotUsed()
| bool TimeTicketSnapshot::WasEmptySlotUsed |
( |
| ) |
const |
The documentation for this class was generated from the following files: