Photon C++ Client API
5.0.7.3
|
Public Member Functions | |
~EventData (void) | |
EventData (const EventData &toCopy) | |
EventData & | operator= (const EventData &toCopy) |
const Common::Object & | operator[] (unsigned int index) const |
Common::JString | toString (bool withParameters=false, bool withParameterTypes=false) const |
Common::Object | getParameterForCode (nByte parameterCode) const |
nByte | getCode (void) const |
const Common::Dictionary< nByte, Common::Object > & | getParameters (void) const |
Contains all components of a Photon Event.
~EventData | ( | void | ) |
Destructor.
Copy-Constructor: Creates a new instance that is a deep copy of the argument instance.
toCopy | The instance to copy. |
operator=.
Makes a deep copy of its right operand into its left operand.
This overwrites old data in the left operand.
const Object & operator[] | ( | unsigned int | index | ) | const |
operator[]. Accesses the value at the given index like in an array. This does not check for valid indexes and shows undefined behavior for invalid indexes.
JString toString | ( | bool | withParameters = false , |
bool | withParameterTypes = false |
||
) | const |
withParameters | determines if the payload of the event should be included in the returned string |
withParameterTypes | determines if the type information should be included for the payload |
Object getParameterForCode | ( | nByte | parameterCode | ) | const |
Alternative access to the Parameters.
parameterCode | The key code of an event value |
nByte getCode | ( | void | ) | const |
const Dictionary< nByte, Object > & getParameters | ( | void | ) | const |