MagicSmoke
$VERSION$
|
this class represents a default price category definition More...
#include <seatplanobj.h>
Public Member Functions | |
bool | isValid () const |
returns whether the object is valid (it comes from the DB and it has been understood by the parser) More... | |
Public Member Functions inherited from MOSeatPlanDefPriceAbstract | |
MOSeatPlanDefPriceAbstract () | |
default constructor: constructs an invalid instance of MOSeatPlanDefPriceAbstract More... | |
MOSeatPlanDefPriceAbstract (const MOSeatPlanDefPriceAbstract &) | |
copy constructor: creates a (deep) copy of the object More... | |
MOSeatPlanDefPriceAbstract (const QDomElement &) | |
special constructor: create from the XML representation, deserializing the object More... | |
virtual | ~MOSeatPlanDefPriceAbstract () |
destructor: deletes this copy of the object More... | |
virtual Nullable< QString > | capacity () const |
amount of seats in this (part of the) group More... | |
virtual Nullable< QString > | cost () const |
default cost definition More... | |
MOSeatPlanDefPriceAbstract & | operator= (const MOSeatPlanDefPriceAbstract &) |
copy assignment: creates a (deep) copy of the object More... | |
virtual Nullable< QString > | price () const |
definition of categories in this group More... | |
virtual void | setcapacity (Nullable< QString > s) |
amount of seats in this (part of the) group More... | |
virtual void | setcost (Nullable< QString > s) |
default cost definition More... | |
virtual void | setprice (Nullable< QString > s) |
definition of categories in this group More... | |
QString | toString () |
Serializes the object to XML and returns the string representation of that XML. More... | |
QDomElement | toXml (QDomDocument &doc, QString name="SeatPlanDefPrice") |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MOSeatPlanDefPriceAbstract | |
static MOSeatPlanDefPriceAbstract | fromString (const QString &) |
create MOSeatPlanDefPriceAbstract from XML formatted string (inverse of toString) More... | |
static MOSeatPlanDefPriceAbstract | fromXml (const QDomElement &) |
create MOSeatPlanDefPriceAbstract from XML (inverse of toXml) More... | |
Protected Attributes inherited from MOSeatPlanDefPriceAbstract | |
Nullable< QString > | mp_capacity |
Nullable< QString > | mp_cost |
Nullable< QString > | mp_price |
this class represents a default price category definition
|
inline |
returns whether the object is valid (it comes from the DB and it has been understood by the parser)
References MOSeatPlanDefPriceAbstract::capacity(), MOSeatPlanDefPriceAbstract::cost(), and MOSeatPlanDefPriceAbstract::price().