MagicSmoke
$VERSION$
|
This class is the transport for seat plans when communicating over the wire. More...
#include <srcMOSeatPlanInfo.h>
Public Member Functions | |
MOSeatPlanInfo () | |
default constructor: constructs an invalid instance of MOSeatPlanInfo More... | |
MOSeatPlanInfo (const MOSeatPlanInfo &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOSeatPlanInfo (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOSeatPlanInfo () |
destructor: deletes this copy of the object More... | |
virtual Nullable< QString > | flags () const |
virtual Nullable< QString > | name () const |
MOSeatPlanInfo & | operator= (const MOSeatPlanInfo &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual Nullable< QString > | plan () const |
virtual Nullable< QString > | roomid () const |
virtual Nullable< qint64 > | seatplanid () const |
virtual void | setflags (Nullable< QString > s) |
virtual void | setname (Nullable< QString > s) |
virtual void | setplan (Nullable< QString > s) |
virtual void | setroomid (Nullable< QString > s) |
virtual void | setseatplanid (Nullable< qint64 > s) |
QString | toString () |
Serializes the object to XML and returns the string representation of that XML. More... | |
QDomElement | toXml (QDomDocument &doc, QString name="SeatPlanInfo") |
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 MOSeatPlanInfo | fromString (const QString &) |
create MOSeatPlanInfo from XML formatted string (inverse of toString) More... | |
static MOSeatPlanInfo | fromXml (const QDomElement &) |
create MOSeatPlanInfo from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< QString > | mp_flags |
Nullable< QString > | mp_name |
Nullable< QString > | mp_plan |
Nullable< QString > | mp_roomid |
Nullable< qint64 > | mp_seatplanid |
This class is the transport for seat plans when communicating over the wire.
|
inline |
default constructor: constructs an invalid instance of MOSeatPlanInfo
Referenced by fromString(), and fromXml().
MOSeatPlanInfo::MOSeatPlanInfo | ( | const MOSeatPlanInfo & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_flags, mp_name, mp_plan, mp_roomid, and mp_seatplanid.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setflags(), setname(), setplan(), setroomid(), and setseatplanid().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
static |
create MOSeatPlanInfo from XML formatted string (inverse of toString)
References MOSeatPlanInfo().
|
static |
create MOSeatPlanInfo from XML (inverse of toXml)
References MOSeatPlanInfo().
|
inlinevirtual |
MOSeatPlanInfo & MOSeatPlanInfo::operator= | ( | const MOSeatPlanInfo & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_flags, mp_name, mp_plan, mp_roomid, and mp_seatplanid.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOSeatPlanInfo().
|
inlinevirtual |
Referenced by MOSeatPlanInfo().
|
inlinevirtual |
Referenced by MOSeatPlanInfo().
|
inlinevirtual |
Referenced by MOSeatPlanInfo().
|
inlinevirtual |
Referenced by MOSeatPlanInfo().
QString MOSeatPlanInfo::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOSeatPlanInfo::toXml | ( | QDomDocument & | doc, |
QString | name = "SeatPlanInfo" |
||
) |
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 "MOSeatPlanInfo" is used |
Referenced by toString().
void MOSeatPlanInfo::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_flags, mp_name, mp_plan, mp_roomid, and mp_seatplanid.
|
protected |
Referenced by MOSeatPlanInfo(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanInfo(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanInfo(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanInfo(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanInfo(), operator=(), and toXml().