AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
EventPrepaidTicketZone.h File Reference
#include "appcore/cardevent/EventPrepaidTicket.h"
Include dependency graph for EventPrepaidTicketZone.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 EventPrepaidTicketZone ()
 
 EventPrepaidTicketZone (EventPrepaidTicketZone __EVALREF source)
 
 ~EventPrepaidTicketZone ()
 
virtual __ESTRING GetClassName () __EOVERRIDE
 
virtual void Serialize (char *buffer) __EOVERRIDE
 
virtual void Deserialize (char *buffer) __EOVERRIDE
 
virtual int GetClassID () __EOVERRIDE
 
virtual short GetSize () __EOVERRIDE
 
virtual CardEvent __EDATAPTR Clone () __EOVERRIDE
 
unsigned short GetZone (int value)
 
unsigned short SetZone (int index, unsigned short value)
 
bool IsWholeNetwork ()
 
void SetWholeNetwork (bool isWholeNetwork)
 

Variables

__ECLASS EventPrepaidTicketZonePr
 
__EPUBLIC __ECLASS LIBCARDEVENT_API EventPrepaidTicketZone
 Zone prepaid ticket event. More...
 

Function Documentation

virtual CardEvent __EDATAPTR Clone ( )
virtual
virtual void Deserialize ( char *  buffer)
virtual
EventPrepaidTicketZone ( )
EventPrepaidTicketZone ( EventPrepaidTicketZone __EVALREF  source)
virtual int GetClassID ( )
virtual
virtual __ESTRING GetClassName ( )
virtual
virtual short GetSize ( )
virtual
unsigned short GetZone ( int  value)

Returns zone on specified position

Parameters
value: int - position of zone [0..9]
See also
SetZone
Returns
unsigned short - zone number
bool IsWholeNetwork ( )

Returns if it is a network wide coupon

See also
SetWholeNetwork
Returns
bool
  • true = it's network wide coupon
  • false = it's not network wide coupon
virtual void Serialize ( char *  buffer)
virtual
void SetWholeNetwork ( bool  isWholeNetwork)

Sets if it is a network wide coupon

See also
IsWholeNetwork
Parameters
isWholeNetwork: bool - network wide coupon flag
unsigned short SetZone ( int  index,
unsigned short  value 
)

Sets zone on specified position in zone array

Parameters
index: int - position of zone [0..9]
value: unsigned short - zone number
See also
GetZone
Returns
unsigned short
  • previous value
  • 0 means index out of range

Variable Documentation

__EPUBLIC __ECLASS LIBCARDEVENT_API EventPrepaidTicketZone

Zone prepaid ticket event.

(Max count of zones is 10)

__ECLASS EventPrepaidTicketZonePr