|
MagicSmoke
$VERSION$
|
this class represents a seat group More...
#include <seatplanobj.h>
Public Member Functions | |
| int | capacityNum () const |
| numeric capacity More... | |
| QStringList | categoryAbbreviations () const |
| Abbreviations of categories in this group. More... | |
| QList< int > | categoryIds () const |
| IDs of categories in this group. More... | |
| bool | isValid () const |
| returns whether the object is valid (it comes from the DB and it has been understood by the parser) More... | |
| int | numBlockedSeats () const |
| number of blocked seats (reserved, ordered, used tickets) More... | |
| int | numCancelledTickets () const |
| number of cancelled tickets More... | |
| int | numOrderedTickets () const |
| number of ordered (not yet used) tickets More... | |
| int | numReservedTickets () const |
| number of reserved tickets More... | |
| int | numUsedTickets () const |
| number of used tickets More... | |
Public Member Functions inherited from MOSeatPlanVGroupAbstract | |
| MOSeatPlanVGroupAbstract () | |
| default constructor: constructs an invalid instance of MOSeatPlanVGroupAbstract More... | |
| MOSeatPlanVGroupAbstract (const MOSeatPlanVGroupAbstract &) | |
| copy constructor: creates a (deep) copy of the object More... | |
| MOSeatPlanVGroupAbstract (const QDomElement &) | |
| special constructor: create from the XML representation, deserializing the object More... | |
| virtual | ~MOSeatPlanVGroupAbstract () |
| 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 > | name () const |
| human readable name of the group More... | |
| MOSeatPlanVGroupAbstract & | operator= (const MOSeatPlanVGroupAbstract &) |
| 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 | setname (Nullable< QString > s) |
| human readable name of the group 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="SeatPlanVGroup") |
| 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... | |
Friends | |
| class | MOEventSaleInfo |
Additional Inherited Members | |
Static Public Member Functions inherited from MOSeatPlanVGroupAbstract | |
| static MOSeatPlanVGroupAbstract | fromString (const QString &) |
| create MOSeatPlanVGroupAbstract from XML formatted string (inverse of toString) More... | |
| static MOSeatPlanVGroupAbstract | fromXml (const QDomElement &) |
| create MOSeatPlanVGroupAbstract from XML (inverse of toXml) More... | |
Protected Attributes inherited from MOSeatPlanVGroupAbstract | |
| Nullable< QString > | mp_capacity |
| Nullable< QString > | mp_name |
| Nullable< QString > | mp_price |
this class represents a seat group
|
inline |
numeric capacity
|
inline |
Abbreviations of categories in this group.
|
inline |
IDs of categories in this group.
|
inline |
returns whether the object is valid (it comes from the DB and it has been understood by the parser)
References MOEventSaleInfoAbstract::capacity(), and MOEventSaleInfoAbstract::price().
|
inline |
number of blocked seats (reserved, ordered, used tickets)
|
inline |
number of cancelled tickets
|
inline |
number of ordered (not yet used) tickets
|
inline |
number of reserved tickets
|
inline |
number of used tickets
|
friend |