Public Member Functions | |
PROUDSRV_API | CLoadedData2 (const CLoadedData2 &from) |
PROUDSRV_API Proud::ErrorType | MovePropNode (CLoadedData2 &destForest, CPropNodePtr nodeToMove, CPropNodePtr destParentNode) |
PROUDSRV_API Proud::ErrorType | InsertChild (CPropNodePtr parent, CPropNodePtr newNode) |
virtual PROUDSRV_API Proud::ErrorType | RemoveNode (CPropNodePtr node, bool addremovelist=true) |
virtual PROUDSRV_API Proud::ErrorType | RemoveNode (Proud::Guid removeUUID, bool addremovelist=true) |
virtual PROUDSRV_API CPropNodePtr | GetNode (const Guid &guid) |
virtual PROUDSRV_API CPropNodePtr | GetRootNode () |
PROUDSRV_API Guid | GetRootUUID () |
PROUDSRV_API Guid | GetSessionGuid () const |
PROUDSRV_API void | SetSessionGuid (Guid val) |
PROUDSRV_API CLoadedData2Ptr | Clone () |
PROUDSRV_API void | ToByteArray (ByteArray &output) |
PROUDSRV_API void | FromByteArray (const ByteArray &input) |
virtual PROUDSRV_API void | _INTERNAL_ClearChangeNode () |
virtual PROUDSRV_API void | _INTERNAL_ChangeToByteArray (ByteArray &outArray) |
virtual PROUDSRV_API void | _INTERNAL_FromByteArrayToChangeList (const ByteArray &inArray) |
virtual PROUDSRV_API const PropNodeList * | _INTERNAL_GetRemoveNodeList () const |
virtual PROUDSRV_API Proud::ErrorType | _INTERNAL_AddRemovePropNodeList (Proud::Guid removeUUID) |
Protected Member Functions | |
virtual PROUDSRV_API void | AssertThreadID (eAccessMode eMode) const |
virtual PROUDSRV_API void | ClearThreadID () const |
virtual PROUDSRV_API void | Change_Serialize (CMessage &msg, bool isReading) |
virtual PROUDSRV_API CPropNodePtr | GetRemoveNode (Proud::Guid removeUUID) |
virtual PROUDSRV_API void | Serialize (CMessage &msg, bool isReading) |
PROUDSRV_API void | CopyTo_NoChildren (CLoadedData2 *output) |
|
virtual |
Function that use internally at DBCacheServer2.
|
virtual |
Function that use internally at DBCacheServer2.
|
virtual |
Function that use internally at DBCacheServer2.
|
virtual |
Function that use internally at DBCacheServer2.
|
virtual |
Function that use internally at DBCacheServer2.
PROUDSRV_API CLoadedData2Ptr Proud::CLoadedData2::Clone | ( | ) |
Create other object to copy data.
PROUDSRV_API void Proud::CLoadedData2::FromByteArray | ( | const ByteArray & | input | ) |
Copy data from input.
ByteArray | object that has input data. |
|
virtual |
Return node that as guid. It will use for searching.
UUID | of node that find out guid |
|
virtual |
It returns top data node that this object owned.
PROUDSRV_API Guid Proud::CLoadedData2::GetRootUUID | ( | ) |
It returns top data node that this object owned.
PROUDSRV_API Guid Proud::CLoadedData2::GetSessionGuid | ( | ) | const |
TODO:translate needed.
PROUDSRV_API Proud::ErrorType Proud::CLoadedData2::InsertChild | ( | CPropNodePtr | parent, |
CPropNodePtr | newNode | ||
) |
Enters newNode as the last child node of parent. If parent=NULL then newNode will be added as the top node. If the newNode already has other child nodes then all of them will enter CPropForest all together.
parent | If it is equal to NULL then it will be attached as the last node of the top most node of CPropTree. |
newNode | The node to be added newly. It must not be dependent to any CPropForest. If so, an error value will be returned. |
PROUDSRV_API Proud::ErrorType Proud::CLoadedData2::MovePropNode | ( | CLoadedData2 & | destForest, |
CPropNodePtr | nodeToMove, | ||
CPropNodePtr | destParentNode | ||
) |
Move nodetoMove node to the lower node of destparentNode of destForest. OwnerUUID,RootUUID of nodeToMove is changed and RootUUID of the lower node of nodeToMove is changed to RootUUID of destForest
destForest | Forest where destParentNode belongs to |
nodeToMove | 이동시킬 노드 Node to be moved |
destParentNode | Owner node of the node to be moved |
|
virtual |
TODO:translate needed. Separate the CPropNode object already attached to this object. The child of the separated node is separated from CPropForest. However, the children of the separated node still maintain the parent and child relationship with the node.
node | Node to be separated. It must be subordinated to this CPropForest. |
addremovelist | This is whether to add to removePropNodelist. After setting it to true and calling UpdateData, it is automatically deleted from DBMS. |
|
virtual |
It has the same function as RemoveNode(node) but operates as UUID.
Node | UUID to be deleted |
This | is whether to add to removePropNodelist. After setting it to true and calling UpdateData, it is automatically deleted from DBMS. |
removeUUID | Node UUID that will be removed. |
PROUDSRV_API void Proud::CLoadedData2::SetSessionGuid | ( | Guid | val | ) |
Set SessionGuid.