#include <srcMOHost.h>
|
| MOHost () |
| default constructor: constructs an invalid instance of MOHost More...
|
|
| MOHost (const MOHost &) |
| copy constructor: creates a (deep) copy of the object More...
|
|
| MOHost (const QDomElement &) |
| special constructor: create from the XML representation, deserializing the object More...
|
|
virtual | ~MOHost () |
| destructor: deletes this copy of the object More...
|
|
virtual Nullable< QString > | key () const |
|
virtual Nullable< QString > | name () const |
|
MOHost & | operator= (const MOHost &) |
| copy assignment: creates a (deep) copy of the object More...
|
|
virtual void | setkey (Nullable< QString > 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="Host") |
| 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...
|
|
MOHost::MOHost |
( |
const MOHost & |
o | ) |
|
copy constructor: creates a (deep) copy of the object
References mp_key, and mp_name.
MOHost::MOHost |
( |
const QDomElement & |
root | ) |
|
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setkey(), and setname().
virtual MOHost::~MOHost |
( |
| ) |
|
|
inlinevirtual |
destructor: deletes this copy of the object
MOHost MOHost::fromString |
( |
const QString & |
txt | ) |
|
|
static |
create MOHost from XML formatted string (inverse of toString)
References MOHost().
MOHost MOHost::fromXml |
( |
const QDomElement & |
root | ) |
|
|
static |
virtual Nullable<QString> MOHost::key |
( |
| ) |
const |
|
inlinevirtual |
virtual Nullable<QString> MOHost::name |
( |
| ) |
const |
|
inlinevirtual |
copy assignment: creates a (deep) copy of the object
References mp_key, and mp_name.
virtual void MOHost::setkey |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
virtual void MOHost::setname |
( |
Nullable< QString > |
s | ) |
|
|
inlinevirtual |
QString MOHost::toString |
( |
| ) |
|
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOHost::toXml |
( |
QDomDocument & |
doc, |
|
|
QString |
name = "Host" |
|
) |
| |
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 "MOHost" is used |
Referenced by toString().
void MOHost::toXml |
( |
QDomDocument & |
doc, |
|
|
QDomElement & |
r |
|
) |
| |
Serializes the object into the given element.
References mp_key, and mp_name.
Nullable<QString> MOHost::mp_key |
|
protected |
Nullable<QString> MOHost::mp_name |
|
protected |
The documentation for this class was generated from the following files: