|
MagicSmoke
$VERSION$
|
#include <srcMOPriceCategory.h>
Public Member Functions | |
| MOPriceCategory () | |
| default constructor: constructs an invalid instance of MOPriceCategory More... | |
| MOPriceCategory (const MOPriceCategory &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOPriceCategory (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOPriceCategory () |
| destructor: deletes this copy of the object More... | |
| virtual Nullable< QString > | abbreviation () const |
| virtual Nullable< bool > | canuse () const |
| virtual Nullable< QString > | flags () const |
| virtual Nullable< QString > | formula () const |
| virtual Nullable< QString > | name () const |
| MOPriceCategory & | operator= (const MOPriceCategory &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual Nullable< qint64 > | pricecategoryid () const |
| virtual void | setabbreviation (Nullable< QString > s) |
| virtual void | setcanuse (Nullable< bool > s) |
| virtual void | setflags (Nullable< QString > s) |
| virtual void | setformula (Nullable< QString > s) |
| virtual void | setname (Nullable< QString > s) |
| virtual void | setpricecategoryid (Nullable< qint64 > 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="PriceCategory") |
| 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 MOPriceCategory | fromString (const QString &) |
| create MOPriceCategory from XML formatted string (inverse of toString) More... | |
| static MOPriceCategory | fromXml (const QDomElement &) |
| create MOPriceCategory from XML (inverse of toXml) More... | |
Protected Attributes | |
| Nullable< QString > | mp_abbreviation |
| Nullable< bool > | mp_canuse |
| Nullable< QString > | mp_flags |
| Nullable< QString > | mp_formula |
| Nullable< QString > | mp_name |
| Nullable< qint64 > | mp_pricecategoryid |
| Nullable< QString > | mp_tags |
|
inline |
default constructor: constructs an invalid instance of MOPriceCategory
Referenced by fromString(), and fromXml().
| MOPriceCategory::MOPriceCategory | ( | const MOPriceCategory & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_abbreviation, mp_canuse, mp_flags, mp_formula, mp_name, mp_pricecategoryid, and mp_tags.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setabbreviation(), setcanuse(), setflags(), setformula(), setname(), setpricecategoryid(), and settags().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOPriceCategory from XML formatted string (inverse of toString)
References MOPriceCategory().
|
static |
create MOPriceCategory from XML (inverse of toXml)
References MOPriceCategory().
|
inlinevirtual |
| MOPriceCategory & MOPriceCategory::operator= | ( | const MOPriceCategory & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_abbreviation, mp_canuse, mp_flags, mp_formula, mp_name, mp_pricecategoryid, and mp_tags.
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOPriceCategory(), and MPCDEdit::result().
|
inlinevirtual |
Referenced by MOPriceCategory().
|
inlinevirtual |
Referenced by MOPriceCategory(), and MPCDEdit::result().
|
inlinevirtual |
Referenced by MOPriceCategory(), and MPCDEdit::result().
|
inlinevirtual |
Referenced by MOPriceCategory(), and MPCDEdit::result().
|
inlinevirtual |
Referenced by MOPriceCategory().
|
inlinevirtual |
Referenced by MOPriceCategory().
|
inlinevirtual |
| QString MOPriceCategory::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOPriceCategory::toXml | ( | QDomDocument & | doc, |
| QString | name = "PriceCategory" |
||
| ) |
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 "MOPriceCategory" is used |
Referenced by toString().
| void MOPriceCategory::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_abbreviation, mp_canuse, mp_flags, mp_formula, mp_name, mp_pricecategoryid, and mp_tags.
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().
|
protected |
Referenced by MOPriceCategory(), operator=(), and toXml().