|
MagicSmoke
$VERSION$
|
#include <srcMOEventPrice.h>
Public Member Functions | |
| MOEventPrice () | |
| default constructor: constructs an invalid instance of MOEventPrice More... | |
| MOEventPrice (const MOEventPrice &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOEventPrice (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOEventPrice () |
| destructor: deletes this copy of the object More... | |
| virtual Nullable< qint64 > | amounttickets () const |
| calculated property: contains the amount of tickets currently contained in this price, ignored if sent from client More... | |
| virtual Nullable< qint64 > | amountticketsblock () const |
| calculated property: contains the amount of tickets currently contained in this price that are actually usable or reserved, ignored if sent from client More... | |
| virtual Nullable< bool > | canuse () const |
| virtual Nullable< qint64 > | eventid () const |
| virtual Nullable< QString > | flags () const |
| virtual Nullable< qint64 > | maxavailable () const |
| MOEventPrice & | operator= (const MOEventPrice &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual Nullable< qint64 > | price () const |
| virtual Nullable< MOPriceCategory > | pricecategory () const |
| virtual Nullable< qint64 > | pricecategoryid () const |
| virtual Nullable< qint64 > | prio () const |
| virtual void | setamounttickets (Nullable< qint64 > s) |
| calculated property: contains the amount of tickets currently contained in this price, ignored if sent from client More... | |
| virtual void | setamountticketsblock (Nullable< qint64 > s) |
| calculated property: contains the amount of tickets currently contained in this price that are actually usable or reserved, ignored if sent from client More... | |
| virtual void | setcanuse (Nullable< bool > s) |
| virtual void | seteventid (Nullable< qint64 > s) |
| virtual void | setflags (Nullable< QString > s) |
| virtual void | setmaxavailable (Nullable< qint64 > s) |
| virtual void | setprice (Nullable< qint64 > s) |
| virtual void | setpricecategory (Nullable< MOPriceCategory > s) |
| virtual void | setpricecategoryid (Nullable< qint64 > s) |
| virtual void | setprio (Nullable< qint64 > s) |
| virtual void | settags (Nullable< QString > s) |
| virtual Nullable< QString > | tags () const |
| QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More... | |
| QDomElement | toXml (QDomDocument &doc, QString name="EventPrice") |
| 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 MOEventPrice | fromString (const QString &) |
| create MOEventPrice from XML formatted string (inverse of toString) More... | |
| static MOEventPrice | fromXml (const QDomElement &) |
| create MOEventPrice from XML (inverse of toXml) More... | |
Protected Attributes | |
| Nullable< qint64 > | mp_amounttickets |
| Nullable< qint64 > | mp_amountticketsblock |
| Nullable< bool > | mp_canuse |
| Nullable< qint64 > | mp_eventid |
| Nullable< QString > | mp_flags |
| Nullable< qint64 > | mp_maxavailable |
| Nullable< qint64 > | mp_price |
| Nullable< MOPriceCategory > | mp_pricecategory |
| Nullable< qint64 > | mp_pricecategoryid |
| Nullable< qint64 > | mp_prio |
| Nullable< QString > | mp_tags |
|
inline |
default constructor: constructs an invalid instance of MOEventPrice
Referenced by fromString(), and fromXml().
| MOEventPrice::MOEventPrice | ( | const MOEventPrice & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_amounttickets, mp_amountticketsblock, mp_canuse, mp_eventid, mp_flags, mp_maxavailable, mp_price, mp_pricecategory, mp_pricecategoryid, mp_prio, and mp_tags.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setamounttickets(), setamountticketsblock(), setcanuse(), seteventid(), setflags(), setmaxavailable(), setprice(), setpricecategory(), setpricecategoryid(), setprio(), and settags().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
calculated property: contains the amount of tickets currently contained in this price, ignored if sent from client
|
inlinevirtual |
calculated property: contains the amount of tickets currently contained in this price that are actually usable or reserved, ignored if sent from client
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOEventPrice from XML formatted string (inverse of toString)
References MOEventPrice().
|
static |
create MOEventPrice from XML (inverse of toXml)
References MOEventPrice().
|
inlinevirtual |
| MOEventPrice & MOEventPrice::operator= | ( | const MOEventPrice & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_amounttickets, mp_amountticketsblock, mp_canuse, mp_eventid, mp_flags, mp_maxavailable, mp_price, mp_pricecategory, mp_pricecategoryid, mp_prio, and mp_tags.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
calculated property: contains the amount of tickets currently contained in this price, ignored if sent from client
Referenced by MOEventPrice().
|
inlinevirtual |
calculated property: contains the amount of tickets currently contained in this price that are actually usable or reserved, ignored if sent from client
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
Referenced by MOEventPrice().
|
inlinevirtual |
| QString MOEventPrice::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOEventPrice::toXml | ( | QDomDocument & | doc, |
| QString | name = "EventPrice" |
||
| ) |
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 "MOEventPrice" is used |
Referenced by toString().
| void MOEventPrice::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_amounttickets, mp_amountticketsblock, mp_canuse, mp_eventid, mp_flags, mp_maxavailable, mp_price, mp_pricecategory, mp_pricecategoryid, mp_prio, and mp_tags.
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().
|
protected |
Referenced by MOEventPrice(), operator=(), and toXml().