MagicSmoke  $VERSION$
MOSeatPlanInfo Class Reference

This class is the transport for seat plans when communicating over the wire. More...

#include <srcMOSeatPlanInfo.h>

Inheritance diagram for MOSeatPlanInfo:

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
 
MOSeatPlanInfooperator= (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
 

Detailed Description

This class is the transport for seat plans when communicating over the wire.

Constructor & Destructor Documentation

MOSeatPlanInfo::MOSeatPlanInfo ( )
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.

MOSeatPlanInfo::MOSeatPlanInfo ( const QDomElement &  root)
explicit

special constructor: create from the XML representation, deserializing the object

References setflags(), setname(), setplan(), setroomid(), and setseatplanid().

virtual MOSeatPlanInfo::~MOSeatPlanInfo ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual Nullable<QString> MOSeatPlanInfo::flags ( ) const
inlinevirtual
MOSeatPlanInfo MOSeatPlanInfo::fromString ( const QString &  txt)
static

create MOSeatPlanInfo from XML formatted string (inverse of toString)

References MOSeatPlanInfo().

MOSeatPlanInfo MOSeatPlanInfo::fromXml ( const QDomElement &  root)
static

create MOSeatPlanInfo from XML (inverse of toXml)

References MOSeatPlanInfo().

virtual Nullable<QString> MOSeatPlanInfo::name ( ) const
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.

virtual Nullable<QString> MOSeatPlanInfo::plan ( ) const
inlinevirtual
virtual Nullable<QString> MOSeatPlanInfo::roomid ( ) const
inlinevirtual
virtual Nullable<qint64> MOSeatPlanInfo::seatplanid ( ) const
inlinevirtual
virtual void MOSeatPlanInfo::setflags ( Nullable< QString >  s)
inlinevirtual

Referenced by MOSeatPlanInfo().

virtual void MOSeatPlanInfo::setname ( Nullable< QString >  s)
inlinevirtual

Referenced by MOSeatPlanInfo().

virtual void MOSeatPlanInfo::setplan ( Nullable< QString >  s)
inlinevirtual

Referenced by MOSeatPlanInfo().

virtual void MOSeatPlanInfo::setroomid ( Nullable< QString >  s)
inlinevirtual

Referenced by MOSeatPlanInfo().

virtual void MOSeatPlanInfo::setseatplanid ( Nullable< qint64 >  s)
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.

Parameters
docthe DOM document node for which to generate the element
namethe 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.

Member Data Documentation

Nullable<QString> MOSeatPlanInfo::mp_flags
protected

Referenced by MOSeatPlanInfo(), operator=(), and toXml().

Nullable<QString> MOSeatPlanInfo::mp_name
protected

Referenced by MOSeatPlanInfo(), operator=(), and toXml().

Nullable<QString> MOSeatPlanInfo::mp_plan
protected

Referenced by MOSeatPlanInfo(), operator=(), and toXml().

Nullable<QString> MOSeatPlanInfo::mp_roomid
protected

Referenced by MOSeatPlanInfo(), operator=(), and toXml().

Nullable<qint64> MOSeatPlanInfo::mp_seatplanid
protected

Referenced by MOSeatPlanInfo(), operator=(), and toXml().


The documentation for this class was generated from the following files: