|
|||
|
|||
|
#include <rpc.h>
Inheritance diagram for RPCValue:


Public Member Functions | |
| RPCValue (RPCValue *rparent=NULL) | |
| RPCValue (RPCValueType ttype, RPCValue *rparent=NULL) | |
| RPCValue (bool nvalue, RPCValue *rparent=NULL) | |
| RPCValue (double nvalue, RPCValue *rparent=NULL) | |
| RPCValue (const std::string &nvalue, RPCValue *rparent=NULL) | |
| virtual | ~RPCValue () |
| RPCValueType | GetType () |
| void | SetNull () |
| void | SetBoolean (bool nvalue) |
| void | SetInteger (double nvalue) |
| void | SetString (const std::string &nvalue) |
| void | SetArray () |
| void | SetObject () |
| void | ArrayAdd (RPCValue *nvalue) |
| void | ObjectAdd (const std::string &key, RPCValue *nvalue) |
| RPCValue * | GetArray (int i) |
| int | ArraySize () |
| RPCValue * | GetObject (const std::string &key) |
| std::pair< RPCObjectContainer::iterator, RPCObjectContainer::iterator > | GetObjectIterator () |
| std::string | GetString () |
| double | GetInt () |
| bool | GetBool () |
Public Attributes | |
| RPCValue * | parent |
Protected Member Functions | |
| double * | CastInteger () |
| std::string * | CastString () |
| RPCObjectContainer * | CastObject () |
| RPCArrayContainer * | CastArray () |
| void | DestroyValue () |
| void | InitValue () |
| RPCValue (const RPCValue &v) | |
Protected Attributes | |
| RPCValueType | type |
| void * | value |
Definition at line 23 of file rpc.h.
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 110 of file rpc.h. References InitValue(). |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 112 of file rpc.h. References value. |
|
||||||||||||
|
Definition at line 113 of file rpc.h. References value. |
|
|
Definition at line 115 of file rpc.h. References DestroyValue(). |
|
|
Definition at line 194 of file rpc.h. References CastArray(), parent, RPCArray, and type. Referenced by ModuleRpcJson::AttachToParent(). |
|
|
Definition at line 222 of file rpc.h. References CastArray(), RPCArray, and type. Referenced by ModuleRpcJson::JSONSerialize(), and ModuleRPCTest::OnEvent(). |
|
|
Definition at line 44 of file rpc.h. References value. Referenced by ArrayAdd(), ArraySize(), DestroyValue(), GetArray(), and SetArray(). |
|
|
Definition at line 29 of file rpc.h. References value. Referenced by DestroyValue(), GetInt(), and SetInteger(). |
|
|
Definition at line 39 of file rpc.h. References value. Referenced by DestroyValue(), GetObject(), GetObjectIterator(), ObjectAdd(), and SetObject(). |
|
|
Definition at line 34 of file rpc.h. References value. Referenced by DestroyValue(), GetString(), and SetString(). |
|
|
Definition at line 49 of file rpc.h. References CastArray(), CastInteger(), CastObject(), CastString(), RPCArray, RPCInteger, RPCObject, RPCString, type, and value. Referenced by SetArray(), SetBoolean(), SetInteger(), SetNull(), SetObject(), SetString(), and ~RPCValue(). |
|
|
Definition at line 212 of file rpc.h. References CastArray(), RPCArray, and type. Referenced by ModuleRpcJson::JSONSerialize(), and ModuleRPCTest::OnEvent(). |
|
|
Definition at line 263 of file rpc.h. References RPCBoolean, type, and value. Referenced by ModuleRpcJson::JSONSerialize(). |
|
|
Definition at line 256 of file rpc.h. References CastInteger(), RPCInteger, and type. Referenced by ModuleRpcJson::JSONSerialize(). |
|
|
Definition at line 230 of file rpc.h. References CastObject(), RPCObject, and type. Referenced by ModuleRpcJson::OnEvent(). |
|
|
Definition at line 241 of file rpc.h. References CastObject(), RPCObject, and type. Referenced by ModuleRpcJson::JSONSerialize(). |
|
|
Definition at line 249 of file rpc.h. References CastString(), RPCString, and type. Referenced by ModuleRpcJson::JSONSerialize(), ModuleRPCTest::OnEvent(), and ModuleRpcJson::OnEvent(). |
|
|
Definition at line 120 of file rpc.h. References type. Referenced by ModuleRpcJson::AttachToParent(), ModuleRpcJson::JSONSerialize(), and ModuleRpcJson::OnEvent(). |
|
|
Definition at line 81 of file rpc.h. References RPCArray, RPCBoolean, RPCInteger, RPCNull, RPCObject, RPCString, type, and value. Referenced by RPCValue(), SetArray(), and SetObject(). |
|
||||||||||||
|
Definition at line 203 of file rpc.h. References CastObject(), parent, RPCObject, and type. Referenced by ModuleRpcJson::AttachToParent(). |
|
|
Definition at line 166 of file rpc.h. References CastArray(), DestroyValue(), InitValue(), RPCArray, and type. |
|
|
Definition at line 131 of file rpc.h. References DestroyValue(), RPCBoolean, type, and value. |
|
|
Definition at line 138 of file rpc.h. References CastInteger(), DestroyValue(), RPCInteger, type, and value. |
|
|
Definition at line 125 of file rpc.h. References DestroyValue(), RPCNull, and type. |
|
|
Definition at line 180 of file rpc.h. References CastObject(), DestroyValue(), InitValue(), RPCObject, and type. |
|
|
Definition at line 152 of file rpc.h. References CastString(), DestroyValue(), RPCString, type, and value. Referenced by ModuleRPCTest::OnEvent(). |
|
|
Definition at line 107 of file rpc.h. Referenced by ArrayAdd(), ModuleRpcJson::JSONParse(), and ObjectAdd(). |
|
|
Definition at line 26 of file rpc.h. Referenced by ArrayAdd(), ArraySize(), DestroyValue(), GetArray(), GetBool(), GetInt(), GetObject(), GetObjectIterator(), GetString(), GetType(), InitValue(), ObjectAdd(), SetArray(), SetBoolean(), SetInteger(), SetNull(), SetObject(), and SetString(). |
|
|
Definition at line 27 of file rpc.h. Referenced by CastArray(), CastInteger(), CastObject(), CastString(), DestroyValue(), GetBool(), InitValue(), RPCValue(), SetBoolean(), SetInteger(), and SetString(). |