MagicSmoke
$VERSION$
|
#include <srcMOEventAbstract.h>
Public Member Functions | |
MOEventAbstract () | |
default constructor: constructs an invalid instance of MOEventAbstract More... | |
MOEventAbstract (const MOEventAbstract &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOEventAbstract (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOEventAbstract () |
destructor: deletes this copy of the object More... | |
virtual void | addprice (Nullable< MOEventPrice > a) |
virtual Nullable< qint64 > | amountFree () const |
virtual Nullable< qint64 > | amountReserved () const |
virtual Nullable< qint64 > | amountSold () const |
virtual Nullable< MOArtist > | artist () const |
virtual Nullable< qint64 > | artistid () const |
virtual Nullable< QString > | cancelreason () const |
virtual Nullable< bool > | canuse () const |
virtual Nullable< qint64 > | capacity () const |
virtual void | clearprice () |
virtual Nullable< QString > | comment () const |
virtual Nullable< QString > | description () const |
virtual Nullable< qint64 > | end () const |
virtual Nullable< QString > | flags () const |
virtual Nullable< qint64 > | id () const |
virtual Nullable< bool > | iscancelled () const |
MOEventAbstract & | operator= (const MOEventAbstract &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual QList< MOEventPrice > | price () const |
virtual Nullable< QString > | room () const |
virtual Nullable< MOSeatPlanInfo > | seatplan () const |
virtual Nullable< qint64 > | seatplanid () const |
virtual void | setamountFree (Nullable< qint64 > s) |
virtual void | setamountReserved (Nullable< qint64 > s) |
virtual void | setamountSold (Nullable< qint64 > s) |
virtual void | setartist (Nullable< MOArtist > s) |
virtual void | setartistid (Nullable< qint64 > s) |
virtual void | setcancelreason (Nullable< QString > s) |
virtual void | setcanuse (Nullable< bool > s) |
virtual void | setcapacity (Nullable< qint64 > s) |
virtual void | setcomment (Nullable< QString > s) |
virtual void | setdescription (Nullable< QString > s) |
virtual void | setend (Nullable< qint64 > s) |
virtual void | setflags (Nullable< QString > s) |
virtual void | setid (Nullable< qint64 > s) |
virtual void | setiscancelled (Nullable< bool > s) |
virtual void | setprice (QList< MOEventPrice > s) |
virtual void | setroom (Nullable< QString > s) |
virtual void | setseatplan (Nullable< MOSeatPlanInfo > s) |
virtual void | setseatplanid (Nullable< qint64 > s) |
virtual void | setstart (Nullable< qint64 > s) |
virtual void | settags (Nullable< QString > s) |
virtual void | settax (Nullable< qint64 > s) |
virtual void | settitle (Nullable< QString > s) |
virtual Nullable< qint64 > | start () const |
virtual Nullable< QString > | tags () const |
virtual Nullable< qint64 > | tax () const |
virtual Nullable< QString > | title () const |
QString | toString () |
Serializes the object to XML and returns the string representation of that XML. More... | |
QDomElement | toXml (QDomDocument &doc, QString name="Event") |
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 MOEventAbstract | fromString (const QString &) |
create MOEventAbstract from XML formatted string (inverse of toString) More... | |
static MOEventAbstract | fromXml (const QDomElement &) |
create MOEventAbstract from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< qint64 > | mp_amountFree |
Nullable< qint64 > | mp_amountReserved |
Nullable< qint64 > | mp_amountSold |
Nullable< MOArtist > | mp_artist |
Nullable< qint64 > | mp_artistid |
Nullable< QString > | mp_cancelreason |
Nullable< bool > | mp_canuse |
Nullable< qint64 > | mp_capacity |
Nullable< QString > | mp_comment |
Nullable< QString > | mp_description |
Nullable< qint64 > | mp_end |
Nullable< QString > | mp_flags |
Nullable< qint64 > | mp_id |
Nullable< bool > | mp_iscancelled |
QList< MOEventPrice > | mp_price |
Nullable< QString > | mp_room |
Nullable< MOSeatPlanInfo > | mp_seatplan |
Nullable< qint64 > | mp_seatplanid |
Nullable< qint64 > | mp_start |
Nullable< QString > | mp_tags |
Nullable< qint64 > | mp_tax |
Nullable< QString > | mp_title |
|
inline |
default constructor: constructs an invalid instance of MOEventAbstract
Referenced by fromString(), and fromXml().
MOEventAbstract::MOEventAbstract | ( | const MOEventAbstract & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_amountFree, mp_amountReserved, mp_amountSold, mp_artist, mp_artistid, mp_cancelreason, mp_canuse, mp_capacity, mp_comment, mp_description, mp_end, mp_flags, mp_id, mp_iscancelled, mp_price, mp_room, mp_seatplan, mp_seatplanid, mp_start, mp_tags, mp_tax, and mp_title.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References addprice(), setamountFree(), setamountReserved(), setamountSold(), setartist(), setartistid(), setcancelreason(), setcanuse(), setcapacity(), setcomment(), setdescription(), setend(), setflags(), setid(), setiscancelled(), setroom(), setseatplan(), setseatplanid(), setstart(), settags(), settax(), and settitle().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor(), and MEventSummary::MEventSummary().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor(), and MEventSummary::MEventSummary().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
static |
create MOEventAbstract from XML formatted string (inverse of toString)
References MOEventAbstract().
|
static |
create MOEventAbstract from XML (inverse of toXml)
References MOEventAbstract().
|
inlinevirtual |
Referenced by MOEvent::eventid(), and MEventEditor::MEventEditor().
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
MOEventAbstract & MOEventAbstract::operator= | ( | const MOEventAbstract & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_amountFree, mp_amountReserved, mp_amountSold, mp_artist, mp_artistid, mp_cancelreason, mp_canuse, mp_capacity, mp_comment, mp_description, mp_end, mp_flags, mp_id, mp_iscancelled, mp_price, mp_room, mp_seatplan, mp_seatplanid, mp_start, mp_tags, mp_tax, and mp_title.
|
inlinevirtual |
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
inlinevirtual |
Referenced by MEventEditor::MEventEditor().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by MOEventAbstract().
|
inlinevirtual |
Referenced by eventIsEarlier(), MEventEditor::MEventEditor(), and MOrderAuditDialog::openTicketAuditDialog().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
QString MOEventAbstract::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOEventAbstract::toXml | ( | QDomDocument & | doc, |
QString | name = "Event" |
||
) |
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 "MOEventAbstract" is used |
Referenced by toString(), and toXml().
void MOEventAbstract::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_amountFree, mp_amountReserved, mp_amountSold, mp_artist, mp_artistid, mp_cancelreason, mp_canuse, mp_capacity, mp_comment, mp_description, mp_end, mp_flags, mp_id, mp_iscancelled, mp_price, mp_room, mp_seatplan, mp_seatplanid, mp_start, mp_tags, mp_tax, mp_title, and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOEventAbstract(), operator=(), and toXml().