MagicSmoke
$VERSION$
|
This class represents a kind of payment information. More...
#include <srcMOPaymentType.h>
Public Member Functions | |
MOPaymentType () | |
default constructor: constructs an invalid instance of MOPaymentType More... | |
MOPaymentType (const MOPaymentType &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOPaymentType (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOPaymentType () |
destructor: deletes this copy of the object More... | |
virtual Nullable< QString > | dataname () const |
virtual Nullable< QString > | datapreset () const |
virtual Nullable< QString > | description () const |
virtual Nullable< QString > | flags () const |
virtual Nullable< QString > | name () const |
MOPaymentType & | operator= (const MOPaymentType &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual void | setdataname (Nullable< QString > s) |
virtual void | setdatapreset (Nullable< QString > s) |
virtual void | setdescription (Nullable< QString > s) |
virtual void | setflags (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="PaymentType") |
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 MOPaymentType | fromString (const QString &) |
create MOPaymentType from XML formatted string (inverse of toString) More... | |
static MOPaymentType | fromXml (const QDomElement &) |
create MOPaymentType from XML (inverse of toXml) More... | |
Protected Attributes | |
Nullable< QString > | mp_dataname |
Nullable< QString > | mp_datapreset |
Nullable< QString > | mp_description |
Nullable< QString > | mp_flags |
Nullable< QString > | mp_name |
This class represents a kind of payment information.
|
inline |
default constructor: constructs an invalid instance of MOPaymentType
Referenced by fromString(), and fromXml().
MOPaymentType::MOPaymentType | ( | const MOPaymentType & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_dataname, mp_datapreset, mp_description, mp_flags, and mp_name.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setdataname(), setdatapreset(), setdescription(), setflags(), and setname().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOPaymentType from XML formatted string (inverse of toString)
References MOPaymentType().
|
static |
create MOPaymentType from XML (inverse of toXml)
References MOPaymentType().
|
inlinevirtual |
MOPaymentType & MOPaymentType::operator= | ( | const MOPaymentType & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_dataname, mp_datapreset, mp_description, mp_flags, and mp_name.
|
inlinevirtual |
Referenced by MOPaymentType().
|
inlinevirtual |
Referenced by MOPaymentType().
|
inlinevirtual |
Referenced by MOPaymentType().
|
inlinevirtual |
Referenced by MOPaymentType().
|
inlinevirtual |
Referenced by MOPaymentType().
QString MOPaymentType::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOPaymentType::toXml | ( | QDomDocument & | doc, |
QString | name = "PaymentType" |
||
) |
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 "MOPaymentType" is used |
Referenced by toString().
void MOPaymentType::toXml | ( | QDomDocument & | doc, |
QDomElement & | r | ||
) |
Serializes the object into the given element.
References mp_dataname, mp_datapreset, mp_description, mp_flags, and mp_name.
|
protected |
Referenced by MOPaymentType(), operator=(), and toXml().
|
protected |
Referenced by MOPaymentType(), operator=(), and toXml().
|
protected |
Referenced by MOPaymentType(), operator=(), and toXml().
|
protected |
Referenced by MOPaymentType(), operator=(), and toXml().
|
protected |
Referenced by MOPaymentType(), operator=(), and toXml().