Photon C++ Client API
5.0.7.3
|
Public Member Functions | |
virtual | ~GenericAssociativeContainerBase (void)=0 |
virtual bool | operator== (const T &toCompare) const |
virtual bool | operator!= (const T &toCompare) const |
virtual void | put (const T &src) |
virtual void | removeAt (unsigned int index) |
virtual void | removeAllElements (void) |
virtual JString & | toString (JString &retStr, bool withTypes=false) const |
virtual const TImplementation & | getHashtable (void) const |
virtual unsigned int | getSize (void) const |
virtual JString & | toString (JString &retStr, bool withTypes=false) const=0 |
JString | toString (bool withTypes=false) const |
Public Member Functions inherited from Base | |
virtual | ~Base (void)=0 |
Public Member Functions inherited from LoggingBase< Base > | |
virtual | ~LoggingBase (void)=0 |
Public Member Functions inherited from ToString | |
virtual | ~ToString (void) |
virtual JString | typeToString (void) const |
JString | toString (bool withTypes=false) const |
Additional Inherited Members | |
Static Public Member Functions inherited from LoggingBase< Base > | |
static void | setListener (const BaseListener *pBaseListener) |
static int | getDebugOutputLevel (void) |
static bool | setDebugOutputLevel (int debugLevel) |
static const LogFormatOptions & | getLogFormatOptions (void) |
static void | setLogFormatOptions (const LogFormatOptions &options) |
|
pure virtual |
Destructor.
|
virtual |
operator==.
Two instances are considered equal if they each hold the same number of entries and, for a given key, the corresponding values equal each other.
Two values are considered equal to each other, if instances of class OT, that are holding them as payloads, equal each other.
Reimplemented in GenericAssociativeContainer< T, EKeyType, EValueType >, GenericAssociativeContainer< JSortedList, EKeyType, EValueType >, GenericAssociativeContainer< JDictionary, nByte, int >, GenericAssociativeContainer< JDictionary, nByte, Common::Helpers::SharedPointer< ExitGames::Voice::LocalVoice > >, GenericAssociativeContainer< JDictionary, int, ExitGames::Common::JVector< Common::Helpers::SharedPointer< ExitGames::Voice::LocalVoice > > >, GenericAssociativeContainer< JDictionary, int, ExitGames::Common::JDictionary< nByte, Common::Helpers::SharedPointer< ExitGames::Voice::RemoteVoice > > >, GenericAssociativeContainer< JDictionary, EKeyType, EValueType >, Dictionary< EKeyType, EValueType >, Dictionary< nByte, ExitGames::Common::Object >, Dictionary< ExitGames::Common::Object, ExitGames::Common::Object >, and Dictionary< nByte, Common::Object >.
|
virtual |
operator!=.
Reimplemented in GenericAssociativeContainer< T, EKeyType, EValueType >, GenericAssociativeContainer< JSortedList, EKeyType, EValueType >, GenericAssociativeContainer< JDictionary, nByte, int >, GenericAssociativeContainer< JDictionary, nByte, Common::Helpers::SharedPointer< ExitGames::Voice::LocalVoice > >, GenericAssociativeContainer< JDictionary, int, ExitGames::Common::JVector< Common::Helpers::SharedPointer< ExitGames::Voice::LocalVoice > > >, GenericAssociativeContainer< JDictionary, int, ExitGames::Common::JDictionary< nByte, Common::Helpers::SharedPointer< ExitGames::Voice::RemoteVoice > > >, GenericAssociativeContainer< JDictionary, EKeyType, EValueType >, Dictionary< EKeyType, EValueType >, Dictionary< nByte, ExitGames::Common::Object >, Dictionary< ExitGames::Common::Object, ExitGames::Common::Object >, and Dictionary< nByte, Common::Object >.
|
virtual |
Adds all pairs of a key and a corresponding value from the passed instance to the instance, on which it is called on. If a key is already existing, then its old value will be replaced with the new one.
src | instance, from which to add the content |
Reimplemented in GenericAssociativeContainer< T, EKeyType, EValueType >, GenericAssociativeContainer< JSortedList, EKeyType, EValueType >, GenericAssociativeContainer< JDictionary, nByte, int >, GenericAssociativeContainer< JDictionary, nByte, Common::Helpers::SharedPointer< ExitGames::Voice::LocalVoice > >, GenericAssociativeContainer< JDictionary, int, ExitGames::Common::JVector< Common::Helpers::SharedPointer< ExitGames::Voice::LocalVoice > > >, GenericAssociativeContainer< JDictionary, int, ExitGames::Common::JDictionary< nByte, Common::Helpers::SharedPointer< ExitGames::Voice::RemoteVoice > > >, GenericAssociativeContainer< JDictionary, EKeyType, EValueType >, Dictionary< EKeyType, EValueType >, Dictionary< nByte, ExitGames::Common::Object >, Dictionary< ExitGames::Common::Object, ExitGames::Common::Object >, and Dictionary< nByte, Common::Object >.
|
virtual |
Deletes the key and the value at the specified index, if the specified index is smaller than the return value of getSize().
index | the index at which the key and value should be deleted. |
|
virtual |
Clears the Hashtable, which means deleting all its content.
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
Implements ToString.
Reimplemented in Dictionary< EKeyType, EValueType >, Dictionary< nByte, ExitGames::Common::Object >, Dictionary< ExitGames::Common::Object, ExitGames::Common::Object >, Dictionary< nByte, Common::Object >, and DictionaryBase.
|
virtual |
|
virtual |
toString |
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
JString toString |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
withTypes | set to true, to include type information in the generated string |