![]() | InDesign SDK 20.5 |
#include <ICusDtLnkUITreeDataModel.h>

Public Types | |
| enum | { kDefaultIID = IID_ICUSDTLNKUITREEDATAMODEL } |
Public Member Functions | |
| virtual void | Rebuild (IWorkspace *ws)=0 |
| virtual IWorkspace * | GetWorkspace () const =0 |
| virtual PMString | GetRootNodeUniqueKey () const =0 |
| virtual CusDtLnkUITreeDataNode * | GetRootNode () const =0 |
| virtual CusDtLnkUITreeDataNode * | GetNode (const PMString &uniqueKey) const =0 |
| virtual PMString | GetParentPath (const PMString &path) const =0 |
| virtual int32 | GetChildCount (const PMString &path)=0 |
| virtual PMString | GetNthChildPath (const PMString &path, int32 nth)=0 |
| virtual int32 | GetChildIndexFor (const PMString &par, const PMString &kid)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
From SDK sample; interface to data model representing tree of assets, with database files as child of root, and assets as child nodes of those.
| pure virtual |
Determine the number of children given a path
| path | [IN] specifies given path |
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Determine the index in the parent's list of kids for a particular child
| par | [IN] specifies parent |
| kid | [IN] specifies kid |
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Accessor for arbitrary node by unique key
| [IN] | uniqueKey |
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Get the path associated with the specified child
| path | [IN] specifies given path |
| nth | [IN] specifies which child |
Implemented in CusDtLnkUITreeDataModel.
Given a path, discover the path of its parent
| path | [IN] specifies given path |
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Accessor for the root node
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Accessor for the root path
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Access current workspace
Implemented in CusDtLnkUITreeDataModel.
| pure virtual |
Call to explicitly rebuild the model
Implemented in CusDtLnkUITreeDataModel.