#include <srcMORoom.h>
|
| MORoom () |
| default constructor: constructs an invalid instance of MORoom More...
|
|
| MORoom (const MORoom &) |
| copy constructor: creates a (deep) copy of the object More...
|
|
| MORoom (const QDomElement &) |
| special constructor: create from the XML representation, deserializing the object More...
|
|
virtual | ~MORoom () |
| destructor: deletes this copy of the object More...
|
|
virtual Nullable< qint64 > | capacity () const |
|
virtual Nullable< QString > | description () const |
|
virtual Nullable< QString > | id () const |
|
MORoom & | operator= (const MORoom &) |
| copy assignment: creates a (deep) copy of the object More...
|
|
virtual void | setcapacity (Nullable< qint64 > s) |
|
virtual void | setdescription (Nullable< QString > s) |
|
virtual void | setid (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="Room") |
| 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...
|
|
MORoom::MORoom |
( |
const MORoom & |
o | ) |
|
MORoom::MORoom |
( |
const QDomElement & |
root | ) |
|
|
explicit |
virtual MORoom::~MORoom |
( |
| ) |
|
|
inlinevirtual |
destructor: deletes this copy of the object
virtual Nullable<qint64> MORoom::capacity |
( |
| ) |
const |
|
inlinevirtual |
virtual Nullable<QString> MORoom::description |
( |
| ) |
const |
|
inlinevirtual |
MORoom MORoom::fromString |
( |
const QString & |
txt | ) |
|
|
static |
create MORoom from XML formatted string (inverse of toString)
References MORoom().
MORoom MORoom::fromXml |
( |
const QDomElement & |
root | ) |
|
|
static |
virtual Nullable<QString> MORoom::id |
( |
| ) |
const |
|
inlinevirtual |
virtual void MORoom::setcapacity |
( |
Nullable< qint64 > |
s | ) |
|
|
inlinevirtual |
virtual void MORoom::setdescription |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
virtual void MORoom::setid |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
QString MORoom::toString |
( |
| ) |
|
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MORoom::toXml |
( |
QDomDocument & |
doc, |
|
|
QString |
name = "Room" |
|
) |
| |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
- Parameters
-
doc | the DOM document node for which to generate the element |
name | the name to give the generated element, per default "MORoom" is used |
Referenced by toString().
void MORoom::toXml |
( |
QDomDocument & |
doc, |
|
|
QDomElement & |
r |
|
) |
| |
Nullable<qint64> MORoom::mp_capacity |
|
protected |
Nullable<QString> MORoom::mp_description |
|
protected |
Nullable<QString> MORoom::mp_id |
|
protected |
The documentation for this class was generated from the following files: