MagicSmoke
$VERSION$
|
#include <srcMOContactType.h>
Public Member Functions | |
MOContactType () | |
default constructor: constructs an invalid instance of MOContactType More... | |
MOContactType (const MOContactType &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOContactType (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOContactType () |
destructor: deletes this copy of the object More... | |
virtual Nullable< QString > | contacttype () const |
virtual Nullable< qint64 > | contacttypeid () const |
MOContactType & | operator= (const MOContactType &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual void | setcontacttype (Nullable< QString > s) |
virtual void | setcontacttypeid (Nullable< qint64 > s) |
virtual void | seturiprefix (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="ContactType") |
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... | |
virtual Nullable< QString > | uriprefix () const |
Static Public Member Functions | |
static MOContactType | fromString (const QString &) |
create MOContactType from XML formatted string (inverse of toString) More... | |
static MOContactType | fromXml (const QDomElement &) |
create MOContactType from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< QString > | mp_contacttype |
Nullable< qint64 > | mp_contacttypeid |
Nullable< QString > | mp_uriprefix |
|
inline |
default constructor: constructs an invalid instance of MOContactType
Referenced by fromString(), and fromXml().
MOContactType::MOContactType | ( | const MOContactType & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_contacttype, mp_contacttypeid, and mp_uriprefix.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setcontacttype(), setcontacttypeid(), and seturiprefix().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOContactType from XML formatted string (inverse of toString)
References MOContactType().
|
static |
create MOContactType from XML (inverse of toXml)
References MOContactType().
MOContactType & MOContactType::operator= | ( | const MOContactType & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_contacttype, mp_contacttypeid, and mp_uriprefix.
|
inlinevirtual |
Referenced by MOContactType().
|
inlinevirtual |
Referenced by MOContactType().
|
inlinevirtual |
Referenced by MOContactType().
QString MOContactType::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOContactType::toXml | ( | QDomDocument & | doc, |
QString | name = "ContactType" |
||
) |
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 "MOContactType" is used |
Referenced by toString().
void MOContactType::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_contacttype, mp_contacttypeid, and mp_uriprefix.
|
inlinevirtual |
|
protected |
Referenced by MOContactType(), operator=(), and toXml().
|
protected |
Referenced by MOContactType(), operator=(), and toXml().
|
protected |
Referenced by MOContactType(), operator=(), and toXml().