InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PstLstUINodeID Class Reference

#include <PstLstUINodeID.h>

Inheritance diagram for PstLstUINodeID:
NodeIDClass

Public Types

enum  { kNodeType = kPstLstUITreeViewWidgetBoss }
 
enum  { kInvalidData = -1, kPageItemType = 0, kPersistentListType = 1 }
 
- Public Types inherited from NodeIDClass
typedef int32 NodeType
 

Public Member Functions

virtual ~PstLstUINodeID ()
 
virtual NodeType GetNodeType () const
 
virtual int32 Compare (const NodeIDClass *NodeID) const
 
virtual NodeIDClassClone () const
 
virtual void Read (IPMStream *stream)
 
virtual void Write (IPMStream *stream) const
 
const int32 & GetDataType () const
 
const UIDGetUID () const
 
const PMStringGetDataDescription () const
 
- Public Member Functions inherited from NodeIDClass
virtual PMString GetDescription () const
 
 NodeIDClass (const NodeIDClass &)=delete
 
NodeIDClassoperator= (const NodeIDClass &)=delete
 

Static Public Member Functions

static NodeID_rv Create (int32 dataType, UID uid, PMString description)
 

Detailed Description

Represents a node in the tree view. It is the list item.

Constructor & Destructor Documentation

virtual PstLstUINodeID::~PstLstUINodeID ()
inlinevirtual

Destructor

Member Function Documentation

NodeIDClass * PstLstUINodeID::Clone () const
virtual

Create a copy of this

Returns

Implements NodeIDClass.

static NodeID_rv PstLstUINodeID::Create (int32 dataType,
UID uid,
PMString description 
)
inlinestatic

Factory method to create new object of this class

Parameters
path[IN] specifies initial path
Returns
new instance of this class
const PMString& PstLstUINodeID::GetDataDescription () const
inline

Accessor for the value associated with this node

Returns
const PMString&
const int32& PstLstUINodeID::GetDataType () const
inline

Accessor for the value associated with this node

Returns
const PMString&
virtual NodeType PstLstUINodeID::GetNodeType () const
inlinevirtual
Returns
type of this node

Implements NodeIDClass.

const UID& PstLstUINodeID::GetUID () const
inline

Accessor for the value associated with this node

Returns
const PMString&
void PstLstUINodeID::Read (IPMStreamstream)
virtual

Read this from the given stream

Parameters
stream[IN] specified stream
Returns

Implements NodeIDClass.

void PstLstUINodeID::Write (IPMStreamstream) const
virtual

Write this to the given stream

Parameters
[OUT]stream
Returns

Implements NodeIDClass.