![]() | InDesign SDK 20.5 |
#include <CusDtLnkUITreeDataNode.h>
Public Types | |
| enum | TreeDataNodeType { eRootType, eDataBaseType, eAssetType, eValueType } |
| enum | AssetState { eStatePlaceholder, eStateProvisional, eStateFinal } |
| typedef object_type | data_type |
Public Member Functions | |
| CusDtLnkUITreeDataNode () | |
| virtual | ~CusDtLnkUITreeDataNode () |
| CusDtLnkUITreeDataNode (const CusDtLnkUITreeDataNode &rhs) | |
| CusDtLnkUITreeDataNode & | operator= (const CusDtLnkUITreeDataNode &rhs) |
| bool | operator== (const CusDtLnkUITreeDataNode &rhs) const |
| const CusDtLnkUITreeDataNode & | GetNthChild (int32 indexInParent) const |
| CusDtLnkUITreeDataNode * | GetParent () const |
| int32 | ChildCount () const |
| PMString | GetUniqueKey () const |
| TreeDataNodeType | GetNodeType () const |
| void | SetNodeType (TreeDataNodeType typ) |
| void | AddChild (const CusDtLnkUITreeDataNode &o) |
| void | RemoveChild (const CusDtLnkUITreeDataNode &o) |
| void | SetParent (const CusDtLnkUITreeDataNode *p) |
| void | SetUniqueKey (const PMString &uk) |
| URI | GetURIFromNode () const |
| void | SetAssetDataBasePath (const PMString &dbPath) |
| PMString | GetAssetDataBasePath () const |
| void | AddAssetRecordValue (const PMString &name, const PMString &val) |
| int32 | GetAssetRecordFieldCount () const |
| PMString | GetNthAssetRecordFieldName (int32 index) const |
| PMString | GetAssetRecordFieldValue (const PMString &key) const |
| IDFile | ResolveAssetPath () const |
| AssetState | GetAssetState () const |
| PMString | GetDescription () const |
Class to represent a generic node within a tree, with data that is encapsulated in a PMString.
For K2Vector copy semantics
| virtual |
Destructor
| CusDtLnkUITreeDataNode::CusDtLnkUITreeDataNode | ( | const CusDtLnkUITreeDataNode & | rhs | ) |
Copy constructor
| rhs | [IN] node reference |
| void CusDtLnkUITreeDataNode::AddChild | ( | const CusDtLnkUITreeDataNode & | o | ) |
Add child to this node (at end of list)
| o | [IN] child node to add |
| int32 CusDtLnkUITreeDataNode::ChildCount | ( | ) | const |
Accessor for size of child list on this node
| const CusDtLnkUITreeDataNode & CusDtLnkUITreeDataNode::GetNthChild | ( | int32 | indexInParent | ) | const |
Accessor for child by zerobased index in parent's list of kids
| indexInParent | [IN] which child by zero-based index |
| CusDtLnkUITreeDataNode * CusDtLnkUITreeDataNode::GetParent | ( | ) | const |
Accessor for parent
| PMString CusDtLnkUITreeDataNode::GetUniqueKey | ( | ) | const |
| CusDtLnkUITreeDataNode & CusDtLnkUITreeDataNode::operator= | ( | const CusDtLnkUITreeDataNode & | rhs | ) |
| bool CusDtLnkUITreeDataNode::operator== | ( | const CusDtLnkUITreeDataNode & | rhs | ) | const |
Operator equality
| rhs | [IN] node reference |
| void CusDtLnkUITreeDataNode::RemoveChild | ( | const CusDtLnkUITreeDataNode & | o | ) |
Remove specified child from our list
| o | [IN] specifies child to remove |
| void CusDtLnkUITreeDataNode::SetParent | ( | const CusDtLnkUITreeDataNode * | p | ) |
Mutator for the parent of this node
| p | [IN] specifies new parent to set |
| void CusDtLnkUITreeDataNode::SetUniqueKey | ( | const PMString & | uk | ) |
| uk |