MagicSmoke  $VERSION$
srcMOSeatPlanInfo.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MOSeatPlanInfo
4 #define WOBGEN_MOSeatPlanInfo
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "WObject"
12 #include <QCoreApplication>
13 
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<qint64> seatplanid READ seatplanid WRITE setseatplanid)
21  Q_PROPERTY(Nullable<QString> roomid READ roomid WRITE setroomid)
23  Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
25  Q_PROPERTY(Nullable<QString> plan READ plan WRITE setplan)
27  Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
28  protected:
29  Nullable<qint64> mp_seatplanid;
30  Nullable<QString> mp_roomid;
31  Nullable<QString> mp_name;
32  Nullable<QString> mp_plan;
33  Nullable<QString> mp_flags;
34  public:
36  virtual Nullable<qint64> seatplanid()const{return mp_seatplanid;}
38  virtual Nullable<QString> roomid()const{return mp_roomid;}
40  virtual Nullable<QString> name()const{return mp_name;}
42  virtual Nullable<QString> plan()const{return mp_plan;}
44  virtual Nullable<QString> flags()const{return mp_flags;}
46  virtual void setseatplanid(Nullable<qint64> s){mp_seatplanid=s;}
48  virtual void setroomid(Nullable<QString> s){mp_roomid=s;}
50  virtual void setname(Nullable<QString> s){mp_name=s;}
52  virtual void setplan(Nullable<QString> s){mp_plan=s;}
54  virtual void setflags(Nullable<QString> s){mp_flags=s;}
55  public:
57  QString toString();
61  QDomElement toXml(QDomDocument&doc,QString name="SeatPlanInfo");
63  void toXml(QDomDocument&,QDomElement&);
64  public:
66  MOSeatPlanInfo():WObject(){}
70  MOSeatPlanInfo& operator=(const MOSeatPlanInfo&);
72  explicit MOSeatPlanInfo(const QDomElement&);
74  static MOSeatPlanInfo fromXml(const QDomElement&);
76  static MOSeatPlanInfo fromString(const QString&);
78  virtual ~MOSeatPlanInfo(){}
79 
80 };
84 
85 //END OF AUTOMATICALLY GENERATED FILE
86 #endif
virtual void setname(Nullable< QString > s)
Definition: srcMOSeatPlanInfo.h:50
virtual Nullable< QString > flags() const
Definition: srcMOSeatPlanInfo.h:44
virtual Nullable< QString > plan() const
Definition: srcMOSeatPlanInfo.h:42
virtual Nullable< qint64 > seatplanid() const
Definition: srcMOSeatPlanInfo.h:36
Nullable< QString > mp_name
Definition: srcMOSeatPlanInfo.h:31
virtual void setroomid(Nullable< QString > s)
Definition: srcMOSeatPlanInfo.h:48
This class is the transport for seat plans when communicating over the wire.
Definition: srcMOSeatPlanInfo.h:15
virtual ~MOSeatPlanInfo()
destructor: deletes this copy of the object
Definition: srcMOSeatPlanInfo.h:78
virtual void setplan(Nullable< QString > s)
Definition: srcMOSeatPlanInfo.h:52
virtual Nullable< QString > name() const
Definition: srcMOSeatPlanInfo.h:40
Nullable< QString > mp_roomid
Definition: srcMOSeatPlanInfo.h:30
Nullable< qint64 > mp_seatplanid
Definition: srcMOSeatPlanInfo.h:29
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOSeatPlanInfo.h:8
Nullable< QString > mp_flags
Definition: srcMOSeatPlanInfo.h:33
MOSeatPlanInfo()
default constructor: constructs an invalid instance of MOSeatPlanInfo
Definition: srcMOSeatPlanInfo.h:66
virtual Nullable< QString > roomid() const
Definition: srcMOSeatPlanInfo.h:38
virtual void setflags(Nullable< QString > s)
Definition: srcMOSeatPlanInfo.h:54
Nullable< QString > mp_plan
Definition: srcMOSeatPlanInfo.h:32
virtual void setseatplanid(Nullable< qint64 > s)
Definition: srcMOSeatPlanInfo.h:46