Public Member Functions | |
const PNTCHAR * | GetTypeName () const |
PROUDSRV_API void | SetTypeName (const PNTCHAR *str) |
String | GetStringTypeName () const |
PROUDSRV_API void | SetStringTypeName (String str) |
PROUDSRV_API CPropNodePtr | CloneNoChildren () |
virtual PROUDSRV_API void | SetField (const String &name, const CVariant &value) PN_OVERRIDE |
virtual PROUDSRV_API void | RemoveField (const String &name) PN_OVERRIDE |
virtual PROUDSRV_API void | ToByteArray (ByteArray &output) PN_OVERRIDE |
CPropNode * | GetChild () |
CPropNode * | GetSibling () |
CPropNode * | GetEndSibling () |
Guid | GetUUID () |
Guid | GetOwnerUUID () |
Guid | GetRootUUID () |
PROUDSRV_API bool | IsSoftWorkIssued () |
PROUDSRV_API | CPropNode (const String &TypeName) |
PROUDSRV_API | CPropNode (const CPropNode &from) |
CPropNode & | operator= (const CPropNode &from) |
CPropNode & | operator= (const CProperty &from) |
Public Member Functions inherited from Proud::CProperty | |
const_iterator | begin () const |
const_iterator | end () const |
size_t | GetCount () const |
void | Remove (const String &key) |
void | Clear () |
bool | TryGetValue (const String &key, CVariant &ret) const |
bool | ContainsKey (const String &key) const |
bool | Add (const String &key, const CVariant &val) |
void | CopyKeysTo (CFastArray< String > &dest) |
PROUDSRV_API CVariant | GetField (const String &name) |
PROUDSRV_API | CProperty () |
PROUDSRV_API | CProperty (const CProperty &rhs) |
CProperty (_variant_t from) | |
PROUDSRV_API | operator _variant_t () const |
PROUDSRV_API | operator ByteArrayPtr () const |
CProperty & | operator= (const _variant_t &from) |
CProperty & | operator= (ByteArray &from) |
CProperty & | operator= (const CProperty &rhs) |
PROUDSRV_API String | GetDumpedText () |
Public Attributes | |
String | m_INTERNAL_TypeName |
Friends | |
PROUDSRV_API CMessage & | operator<< (CMessage &packet, CPropNode &rhs) |
PROUDSRV_API CMessage & | operator>> (CMessage &packet, CPropNode &rhs) |
Additional Inherited Members | |
Public Types inherited from Proud::CProperty | |
typedef CFastMap< String, CVariant, StringTraits > | MapType |
Protected Member Functions inherited from Proud::CProperty | |
virtual void | AssertThreadID (eAccessMode eMode) const |
virtual void | ClearThreadID () const |
Protected Attributes inherited from Proud::CProperty | |
MapType | m_map |
As the class that inherited Property, it points a node of CPropForest. Created using CPropNodePtr and to perform insertion or deletion at the functions provided by CLoadedData CPropNodePtr node = new(CPropNode(L"table name")); Please refer CProperty for how to use.
PROUDSRV_API Proud::CPropNode::CPropNode | ( | const String & | TypeName | ) |
Base constructor
PROUDSRV_API CPropNodePtr Proud::CPropNode::CloneNoChildren | ( | ) |
Clones of this node without children.
|
virtual |
Remove specific (key, value) pair from this node object.
name | Key value of pair that need to remove |
Reimplemented from Proud::CProperty.
|
virtual |
Put specific (key, value) pair to node object. If pair with same key is existed then replace it to brandnew one.
name | key of pair |
value | value of pair |
Reimplemented from Proud::CProperty.
|
virtual |
Put data information to ByteArray.
Reimplemented from Proud::CProperty.
PropCollection's Message serialization helper functions
PropCollection's Message deserialization helper functions
String Proud::CPropNode::m_INTERNAL_TypeName |
Type name of this node.