|
MagicSmoke
$VERSION$
|
#include <srcMOTemplateInfo.h>
Public Member Functions | |
| MOTemplateInfo () | |
| default constructor: constructs an invalid instance of MOTemplateInfo More... | |
| MOTemplateInfo (const MOTemplateInfo &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOTemplateInfo (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOTemplateInfo () |
| destructor: deletes this copy of the object More... | |
| virtual Nullable< QString > | description () const |
| virtual Nullable< QString > | filename () const |
| virtual Nullable< QString > | flags () const |
| virtual Nullable< QString > | hash () const |
| MOTemplateInfo & | operator= (const MOTemplateInfo &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual void | setdescription (Nullable< QString > s) |
| virtual void | setfilename (Nullable< QString > s) |
| virtual void | setflags (Nullable< QString > s) |
| virtual void | sethash (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="TemplateInfo") |
| 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 MOTemplateInfo | fromString (const QString &) |
| create MOTemplateInfo from XML formatted string (inverse of toString) More... | |
| static MOTemplateInfo | fromXml (const QDomElement &) |
| create MOTemplateInfo from XML (inverse of toXml) More... | |
Protected Attributes | |
| Nullable< QString > | mp_description |
| Nullable< QString > | mp_filename |
| Nullable< QString > | mp_flags |
| Nullable< QString > | mp_hash |
|
inline |
default constructor: constructs an invalid instance of MOTemplateInfo
Referenced by fromString(), and fromXml().
| MOTemplateInfo::MOTemplateInfo | ( | const MOTemplateInfo & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_description, mp_filename, mp_flags, and mp_hash.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setdescription(), setfilename(), setflags(), and sethash().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOTemplateInfo from XML formatted string (inverse of toString)
References MOTemplateInfo().
|
static |
create MOTemplateInfo from XML (inverse of toXml)
References MOTemplateInfo().
|
inlinevirtual |
| MOTemplateInfo & MOTemplateInfo::operator= | ( | const MOTemplateInfo & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_description, mp_filename, mp_flags, and mp_hash.
|
inlinevirtual |
Referenced by MOTemplateInfo(), and MTemplateStore::updateTemplates().
|
inlinevirtual |
Referenced by MOTemplateInfo(), and MTemplateStore::updateTemplates().
|
inlinevirtual |
Referenced by MOTemplateInfo(), and MTemplateStore::updateTemplates().
|
inlinevirtual |
Referenced by MOTemplateInfo(), and MTemplateStore::updateTemplates().
| QString MOTemplateInfo::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOTemplateInfo::toXml | ( | QDomDocument & | doc, |
| QString | name = "TemplateInfo" |
||
| ) |
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 "MOTemplateInfo" is used |
Referenced by toString().
| void MOTemplateInfo::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_description, mp_filename, mp_flags, and mp_hash.
|
protected |
Referenced by MOTemplateInfo(), operator=(), and toXml().
|
protected |
Referenced by MOTemplateInfo(), operator=(), and toXml().
|
protected |
Referenced by MOTemplateInfo(), operator=(), and toXml().
|
protected |
Referenced by MOTemplateInfo(), operator=(), and toXml().