MagicSmoke
$VERSION$
|
Image data that can be embedded in seat plan backgrounds. More...
#include <srcMOSeatPlanImage.h>
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 |
MOSeatPlanImage & | operator= (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 |
Image data that can be embedded in seat plan backgrounds.
|
inline |
default constructor: constructs an invalid instance of MOSeatPlanImage
Referenced by fromString(), and fromXml().
MOSeatPlanImage::MOSeatPlanImage | ( | const MOSeatPlanImage & | o | ) |
|
explicit |
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
static |
create MOSeatPlanImage from XML formatted string (inverse of toString)
References MOSeatPlanImage().
|
static |
create MOSeatPlanImage from XML (inverse of toXml)
References MOSeatPlanImage().
|
inlinevirtual |
MOSeatPlanImage & MOSeatPlanImage::operator= | ( | const MOSeatPlanImage & | o | ) |
|
inlinevirtual |
Referenced by MOSeatPlanImage().
|
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.
doc | the DOM document node for which to generate the element |
name | the name to give the generated element, per default "MOSeatPlanImage" is used |
Referenced by toString().
void MOSeatPlanImage::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
|
protected |
Referenced by MOSeatPlanImage(), operator=(), and toXml().
|
protected |
Referenced by MOSeatPlanImage(), operator=(), and toXml().