24 #ifndef __StoryListNodeID__ 25 #define __StoryListNodeID__ 29 #include "IPMStream.h" 30 #include "IAssignmentMgr.h" 31 #include "AssignmentUIID.h" 39 enum { kNodeType = kStoryListNodeIDClass };
40 enum { kInvalidIndex = -1 };
41 typedef enum { kRootNodeType = 0x0001,
42 kDocNodeType = 0x0010,
43 kAssignmentNodeType = 0x0100,
44 kStoryNodeType = 0x1000,
45 kAllNodeType = 0x1110 } StoryListType;
59 virtual NodeType GetNodeType()
const {
return kNodeType; }
64 virtual void Write(
IPMStream* stream)
const;
66 virtual void GetAssignmentPath(
PMString& name)
const;
67 virtual UIDRef GetContentRef()
const;
68 virtual void GetUIDRef(
UIDRef& ref)
const;
69 virtual UIDRef GetUIDRef()
const;
70 virtual UIDRef GetRawUIDRef()
const;
71 virtual void GetStoryPath(
PMString& name)
const;
73 virtual StoryListType GetStoryListType()
const {
return fType; }
74 virtual PMString GetDescription()
const ;
79 int32 CompareUIDRefs(
const UIDRef& one,
const UIDRef& two)
const;