MagicSmoke  $VERSION$
MOSeatPlanImage Class Reference

Image data that can be embedded in seat plan backgrounds. More...

#include <srcMOSeatPlanImage.h>

Inheritance diagram for MOSeatPlanImage:

Public Member Functions

 MOSeatPlanImage ()
 default constructor: constructs an invalid instance of MOSeatPlanImage More...
 
 MOSeatPlanImage (const MOSeatPlanImage &)
 copy constructor: creates a (deep) copy of the object More...
 
 MOSeatPlanImage (const QDomElement &)
 special constructor: create from the XML representation, deserializing the object More...
 
virtual ~MOSeatPlanImage ()
 destructor: deletes this copy of the object More...
 
virtual Nullable< QByteArray > Data () const
 
virtual Nullable< QString > name () const
 
MOSeatPlanImageoperator= (const MOSeatPlanImage &)
 copy assignment: creates a (deep) copy of the object More...
 
virtual void setData (Nullable< QByteArray > s)
 
virtual void setname (Nullable< QString > s)
 
QString toString ()
 Serializes the object to XML and returns the string representation of that XML. More...
 
QDomElement toXml (QDomDocument &doc, QString name="SeatPlanImage")
 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 MOSeatPlanImage fromString (const QString &)
 create MOSeatPlanImage from XML formatted string (inverse of toString) More...
 
static MOSeatPlanImage fromXml (const QDomElement &)
 create MOSeatPlanImage from XML (inverse of toXml) More...
 

Protected Attributes

Nullable< QByteArray > mp_Data
 
Nullable< QString > mp_name
 

Detailed Description

Image data that can be embedded in seat plan backgrounds.

Constructor & Destructor Documentation

MOSeatPlanImage::MOSeatPlanImage ( )
inline

default constructor: constructs an invalid instance of MOSeatPlanImage

Referenced by fromString(), and fromXml().

MOSeatPlanImage::MOSeatPlanImage ( const MOSeatPlanImage o)

copy constructor: creates a (deep) copy of the object

References mp_Data, and mp_name.

MOSeatPlanImage::MOSeatPlanImage ( const QDomElement &  root)
explicit

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

References setData(), and setname().

virtual MOSeatPlanImage::~MOSeatPlanImage ( )
inlinevirtual

destructor: deletes this copy of the object

Member Function Documentation

virtual Nullable<QByteArray> MOSeatPlanImage::Data ( ) const
inlinevirtual
MOSeatPlanImage MOSeatPlanImage::fromString ( const QString &  txt)
static

create MOSeatPlanImage from XML formatted string (inverse of toString)

References MOSeatPlanImage().

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

create MOSeatPlanImage from XML (inverse of toXml)

References MOSeatPlanImage().

virtual Nullable<QString> MOSeatPlanImage::name ( ) const
inlinevirtual
MOSeatPlanImage & MOSeatPlanImage::operator= ( const MOSeatPlanImage o)

copy assignment: creates a (deep) copy of the object

References mp_Data, and mp_name.

virtual void MOSeatPlanImage::setData ( Nullable< QByteArray >  s)
inlinevirtual

Referenced by MOSeatPlanImage().

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

Referenced by MOSeatPlanImage().

QString MOSeatPlanImage::toString ( )

Serializes the object to XML and returns the string representation of that XML.

References toXml().

QDomElement MOSeatPlanImage::toXml ( QDomDocument &  doc,
QString  name = "SeatPlanImage" 
)

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 "MOSeatPlanImage" is used

Referenced by toString().

void MOSeatPlanImage::toXml ( QDomDocument &  doc,
QDomElement &  r 
)

Serializes the object into the given element.

References mp_Data, and mp_name.

Member Data Documentation

Nullable<QByteArray> MOSeatPlanImage::mp_Data
protected

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

Nullable<QString> MOSeatPlanImage::mp_name
protected

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


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