#include <srcMOCartItem.h>
|
| MOCartItem () |
| default constructor: constructs an invalid instance of MOCartItem More...
|
|
| MOCartItem (const MOCartItem &) |
| copy constructor: creates a (deep) copy of the object More...
|
|
| MOCartItem (const QDomElement &) |
| special constructor: create from the XML representation, deserializing the object More...
|
|
virtual | ~MOCartItem () |
| destructor: deletes this copy of the object More...
|
|
MOCartItem & | operator= (const MOCartItem &) |
| copy assignment: creates a (deep) copy of the object More...
|
|
QString | toString () |
| Serializes the object to XML and returns the string representation of that XML. More...
|
|
QDomElement | toXml (QDomDocument &doc, QString name="CartItem") |
| 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...
|
|
MOCartItem::MOCartItem |
( |
| ) |
|
|
inline |
copy constructor: creates a (deep) copy of the object
MOCartItem::MOCartItem |
( |
const QDomElement & |
root | ) |
|
|
explicit |
special constructor: create from the XML representation, deserializing the object
virtual MOCartItem::~MOCartItem |
( |
| ) |
|
|
inlinevirtual |
destructor: deletes this copy of the object
MOCartItem MOCartItem::fromString |
( |
const QString & |
txt | ) |
|
|
static |
MOCartItem MOCartItem::fromXml |
( |
const QDomElement & |
root | ) |
|
|
static |
copy assignment: creates a (deep) copy of the object
QString MOCartItem::toString |
( |
| ) |
|
Serializes the object to XML and returns the string representation of that XML.
References toXml().
QDomElement MOCartItem::toXml |
( |
QDomDocument & |
doc, |
|
|
QString |
name = "CartItem" |
|
) |
| |
Transforms the object into its XML representation, the element node returned is not appended to the document - you have to do that yourself.
- Parameters
-
doc | the DOM document node for which to generate the element |
name | the name to give the generated element, per default "MOCartItem" is used |
Referenced by toString().
void MOCartItem::toXml |
( |
QDomDocument & |
doc, |
|
|
QDomElement & |
r |
|
) |
| |
Serializes the object into the given element.
The documentation for this class was generated from the following files: