|
MagicSmoke
$VERSION$
|
#include <srcMOAddressAbstract.h>
Public Member Functions | |
| MOAddressAbstract () | |
| default constructor: constructs an invalid instance of MOAddressAbstract More... | |
| MOAddressAbstract (const MOAddressAbstract &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOAddressAbstract (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOAddressAbstract () |
| destructor: deletes this copy of the object More... | |
| virtual Nullable< QString > | addr1 () const |
| virtual Nullable< QString > | addr2 () const |
| virtual Nullable< qint64 > | addressid () const |
| virtual Nullable< QString > | city () const |
| virtual Nullable< MOCountry > | country () const |
| virtual Nullable< QString > | countryid () const |
| virtual Nullable< qint64 > | customerid () const |
| virtual Nullable< bool > | isdeleted () const |
| virtual Nullable< qint64 > | lastused () const |
| virtual Nullable< QString > | name () const |
| MOAddressAbstract & | operator= (const MOAddressAbstract &) |
| copy assignment: creates a (deep) copy of the object More... | |
| virtual void | setaddr1 (Nullable< QString > s) |
| virtual void | setaddr2 (Nullable< QString > s) |
| virtual void | setaddressid (Nullable< qint64 > s) |
| virtual void | setcity (Nullable< QString > s) |
| virtual void | setcountry (Nullable< MOCountry > s) |
| virtual void | setcountryid (Nullable< QString > s) |
| virtual void | setcustomerid (Nullable< qint64 > s) |
| virtual void | setisdeleted (Nullable< bool > s) |
| virtual void | setlastused (Nullable< qint64 > s) |
| virtual void | setname (Nullable< QString > s) |
| virtual void | setstate (Nullable< QString > s) |
| virtual void | setzipcode (Nullable< QString > s) |
| virtual Nullable< QString > | state () const |
| QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More... | |
| QDomElement | toXml (QDomDocument &doc, QString name="Address") |
| 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... | |
| virtual Nullable< QString > | zipcode () const |
Static Public Member Functions | |
| static MOAddressAbstract | fromString (const QString &) |
| create MOAddressAbstract from XML formatted string (inverse of toString) More... | |
| static MOAddressAbstract | fromXml (const QDomElement &) |
| create MOAddressAbstract from XML (inverse of toXml) More... | |
Protected Attributes | |
| Nullable< QString > | mp_addr1 |
| Nullable< QString > | mp_addr2 |
| Nullable< qint64 > | mp_addressid |
| Nullable< QString > | mp_city |
| Nullable< MOCountry > | mp_country |
| Nullable< QString > | mp_countryid |
| Nullable< qint64 > | mp_customerid |
| Nullable< bool > | mp_isdeleted |
| Nullable< qint64 > | mp_lastused |
| Nullable< QString > | mp_name |
| Nullable< QString > | mp_state |
| Nullable< QString > | mp_zipcode |
|
inline |
default constructor: constructs an invalid instance of MOAddressAbstract
Referenced by fromString(), and fromXml().
| MOAddressAbstract::MOAddressAbstract | ( | const MOAddressAbstract & | o | ) |
copy constructor: creates a (deep) copy of the object
References mp_addr1, mp_addr2, mp_addressid, mp_city, mp_country, mp_countryid, mp_customerid, mp_isdeleted, mp_lastused, mp_name, mp_state, and mp_zipcode.
|
explicit |
special constructor: create from the XML representation, deserializing the object
References setaddr1(), setaddr2(), setaddressid(), setcity(), setcountry(), setcountryid(), setcustomerid(), setisdeleted(), setlastused(), setname(), setstate(), and setzipcode().
|
inlinevirtual |
destructor: deletes this copy of the object
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
|
inlinevirtual |
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
|
inlinevirtual |
|
inlinevirtual |
|
static |
create MOAddressAbstract from XML formatted string (inverse of toString)
References MOAddressAbstract().
|
static |
create MOAddressAbstract from XML (inverse of toXml)
References MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressWidget::setAddress().
|
inlinevirtual |
Referenced by MAddressDialog::MAddressDialog().
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
| MOAddressAbstract & MOAddressAbstract::operator= | ( | const MOAddressAbstract & | o | ) |
copy assignment: creates a (deep) copy of the object
References mp_addr1, mp_addr2, mp_addressid, mp_city, mp_country, mp_countryid, mp_customerid, mp_isdeleted, mp_lastused, mp_name, mp_state, and mp_zipcode.
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MOAddressAbstract().
|
inlinevirtual |
Referenced by MOAddressAbstract().
|
inlinevirtual |
Referenced by MOAddressAbstract().
|
inlinevirtual |
Referenced by MOAddressAbstract().
|
inlinevirtual |
Referenced by MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MAddressDialog::address(), and MOAddressAbstract().
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
| QString MOAddressAbstract::toString | ( | ) |
Serializes the object to XML and returns the string representation of that XML.
References toXml().
| QDomElement MOAddressAbstract::toXml | ( | QDomDocument & | doc, |
| QString | name = "Address" |
||
| ) |
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 "MOAddressAbstract" is used |
Referenced by toString().
| void MOAddressAbstract::toXml | ( | QDomDocument & | doc, |
| QDomElement & | r | ||
| ) |
Serializes the object into the given element.
References mp_addr1, mp_addr2, mp_addressid, mp_city, mp_country, mp_countryid, mp_customerid, mp_isdeleted, mp_lastused, mp_name, mp_state, and mp_zipcode.
|
inlinevirtual |
Referenced by MOAddress::fullAddress(), and MAddressDialog::MAddressDialog().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().
|
protected |
Referenced by MOAddressAbstract(), operator=(), and toXml().