|
MagicSmoke
$VERSION$
|
This class transports all data necessary to calculate the free seats of an event. More...
#include <srcMOEventSaleInfoAbstract.h>
Public Member Functions | |
| MOEventSaleInfoAbstract () | |
| default constructor: constructs an invalid instance of MOEventSaleInfoAbstract More... | |
| MOEventSaleInfoAbstract (const MOEventSaleInfoAbstract &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOEventSaleInfoAbstract (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOEventSaleInfoAbstract () |
| destructor: deletes this copy of the object More... | |
| virtual void | addprice (Nullable< MOEventPrice > a) |
| virtual void | addticketsales (Nullable< MOTicketSaleInfo > a) |
| virtual Nullable< bool > | canuse () const |
| virtual Nullable< qint64 > | capacity () const |
| virtual void | clearprice () |
| virtual void | clearticketsales () |
| virtual Nullable< qint64 > | eventid () const |
| virtual Nullable< bool > | iscancelled () const |
| MOEventSaleInfoAbstract & | operator= (const MOEventSaleInfoAbstract &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual QList< MOEventPrice > | price () const |
| virtual Nullable< QString > | room () const |
| virtual Nullable< qint64 > | seatplanid () const |
| virtual Nullable< MOSeatPlanInfo > | seatplaninfo () const |
| virtual void | setcanuse (Nullable< bool > s) |
| virtual void | setcapacity (Nullable< qint64 > s) |
| virtual void | seteventid (Nullable< qint64 > s) |
| virtual void | setiscancelled (Nullable< bool > s) |
| virtual void | setprice (QList< MOEventPrice > s) |
| virtual void | setroom (Nullable< QString > s) |
| virtual void | setseatplanid (Nullable< qint64 > s) |
| virtual void | setseatplaninfo (Nullable< MOSeatPlanInfo > s) |
| virtual void | setticketsales (QList< MOTicketSaleInfo > s) |
| virtual QList< MOTicketSaleInfo > | ticketsales () const |
| QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More... | |
| QDomElement | toXml (QDomDocument &doc, QString name="EventSaleInfo") |
| Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself. More... | |
| void | toXml (QDomDocument &, QDomElement &) |
| Serializes the object into the given element. More... | |
Static Public Member Functions | |
| static MOEventSaleInfoAbstract | fromString (const QString &) |
| create MOEventSaleInfoAbstract from XML formatted string (inverse of toString) More... | |
| static MOEventSaleInfoAbstract | fromXml (const QDomElement &) |
| create MOEventSaleInfoAbstract from XML (inverse of toXml) More... | |
Protected Attributes | |
| Nullable< bool > | mp_canuse |
| Nullable< qint64 > | mp_capacity |
| Nullable< qint64 > | mp_eventid |
| Nullable< bool > | mp_iscancelled |
| QList< MOEventPrice > | mp_price |
| Nullable< QString > | mp_room |
| Nullable< qint64 > | mp_seatplanid |
| Nullable< MOSeatPlanInfo > | mp_seatplaninfo |
| QList< MOTicketSaleInfo > | mp_ticketsales |
This class transports all data necessary to calculate the free seats of an event.
|
inline |
default constructor: constructs an invalid instance of MOEventSaleInfoAbstract
Referenced by fromString(), and fromXml().
| MOEventSaleInfoAbstract::MOEventSaleInfoAbstract | ( | const MOEventSaleInfoAbstract & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_canuse, mp_capacity, mp_eventid, mp_iscancelled, mp_price, mp_room, mp_seatplanid, mp_seatplaninfo, and mp_ticketsales.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References addprice(), addticketsales(), setcanuse(), setcapacity(), seteventid(), setiscancelled(), setroom(), setseatplanid(), and setseatplaninfo().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOSeatPlanVGroup::isValid().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOEventSaleInfo::isValid().
|
static |
create MOEventSaleInfoAbstract from XML formatted string (inverse of toString)
References MOEventSaleInfoAbstract().
|
static |
create MOEventSaleInfoAbstract from XML (inverse of toXml)
References MOEventSaleInfoAbstract().
|
inlinevirtual |
| MOEventSaleInfoAbstract & MOEventSaleInfoAbstract::operator= | ( | const MOEventSaleInfoAbstract & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_canuse, mp_capacity, mp_eventid, mp_iscancelled, mp_price, mp_room, mp_seatplanid, mp_seatplaninfo, and mp_ticketsales.
|
inlinevirtual |
Referenced by getcategories(), and MOSeatPlanVGroup::isValid().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOEventSaleInfo::seatplanAdjusted().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
Referenced by MOEventSaleInfoAbstract().
|
inlinevirtual |
|
inlinevirtual |
| QString MOEventSaleInfoAbstract::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOEventSaleInfoAbstract::toXml | ( | QDomDocument & | doc, |
| QString | name = "EventSaleInfo" |
||
| ) |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
| doc | the DOM document node for which to generate the element |
| name | the name to give the generated element, per default "MOEventSaleInfoAbstract" is used |
Referenced by toString(), and toXml().
| void MOEventSaleInfoAbstract::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_canuse, mp_capacity, mp_eventid, mp_iscancelled, mp_price, mp_room, mp_seatplanid, mp_seatplaninfo, mp_ticketsales, and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventSaleInfoAbstract(), operator=(), and toXml().