MagicSmoke
$VERSION$
|
#include <srcMOArtist.h>
Public Member Functions | |
MOArtist () | |
default constructor: constructs an invalid instance of MOArtist More... | |
MOArtist (const MOArtist &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOArtist (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOArtist () |
destructor: deletes this copy of the object More... | |
virtual Nullable< bool > | canuse () const |
virtual Nullable< QString > | comment () const |
virtual Nullable< QString > | description () const |
virtual Nullable< QString > | flags () const |
virtual Nullable< qint64 > | id () const |
virtual Nullable< QString > | name () const |
MOArtist & | operator= (const MOArtist &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual void | setcanuse (Nullable< bool > s) |
virtual void | setcomment (Nullable< QString > s) |
virtual void | setdescription (Nullable< QString > s) |
virtual void | setflags (Nullable< QString > s) |
virtual void | setid (Nullable< qint64 > s) |
virtual void | setname (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="Artist") |
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 MOArtist | fromString (const QString &) |
create MOArtist from XML formatted string (inverse of toString) More... | |
static MOArtist | fromXml (const QDomElement &) |
create MOArtist from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< bool > | mp_canuse |
Nullable< QString > | mp_comment |
Nullable< QString > | mp_description |
Nullable< QString > | mp_flags |
Nullable< qint64 > | mp_id |
Nullable< QString > | mp_name |
Nullable< QString > | mp_tags |
|
inline |
default constructor: constructs an invalid instance of MOArtist
Referenced by fromString(), and fromXml().
MOArtist::MOArtist | ( | const MOArtist & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_canuse, mp_comment, mp_description, mp_flags, mp_id, mp_name, and mp_tags.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setcanuse(), setcomment(), setdescription(), setflags(), setid(), setname(), and settags().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOArtist from XML formatted string (inverse of toString)
References MOArtist().
|
static |
create MOArtist from XML (inverse of toXml)
References MOArtist().
|
inlinevirtual |
|
inlinevirtual |
copy assignment: creates a (deep) copy of the object
References mp_canuse, mp_comment, mp_description, mp_flags, mp_id, mp_name, and mp_tags.
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
Referenced by MOArtist().
|
inlinevirtual |
QString MOArtist::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOArtist::toXml | ( | QDomDocument & | doc, |
QString | name = "Artist" |
||
) |
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 "MOArtist" is used |
Referenced by toString().
void MOArtist::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_canuse, mp_comment, mp_description, mp_flags, mp_id, mp_name, and mp_tags.
|
protected |
Referenced by MOArtist(), operator=(), and toXml().
|
protected |
Referenced by MOArtist(), operator=(), and toXml().
|
protected |
Referenced by MOArtist(), operator=(), and toXml().
|
protected |
Referenced by MOArtist(), operator=(), and toXml().
|
protected |
Referenced by MOArtist(), operator=(), and toXml().
|
protected |
Referenced by MOArtist(), operator=(), and toXml().
|
protected |
Referenced by MOArtist(), operator=(), and toXml().