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