InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IContentTracker Class Referenceabstract

#include <IContentTracker.h>

Inheritance diagram for IContentTracker:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICONTENTTRACKER }
 

Public Member Functions

virtual void AddTag (ImplementationID tag)=0
 
virtual void AddClass (ClassID clsID)=0
 
virtual void PushClassContext (ClassID context)=0
 
virtual void PushImplementationContext (ImplementationID context)=0
 
virtual void PopContext ()=0
 
virtual void Open (IDataBase *db, UID id)=0
 
virtual void Close ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

This interface is used by the system to keep track of content added to a database. IContentTracker is found on Bosses that include an implementation of IPMStream. The effect is to keep the Content Manager updated as to what is being written into the database.

See Also
IPMStream
IContentMgr

Member Function Documentation

virtual void IContentTracker::AddClass (ClassID clsID)
pure virtual

Notify the Content Manager that a class has been written to the database.

Parameters
clsIDIN The class ID
virtual void IContentTracker::AddTag (ImplementationID tag)
pure virtual

Notify the Content Manager that an implementation has been written to the database.

Parameters
tagIN The implementation ID
virtual void IContentTracker::Close ()
pure virtual

Close the database

virtual void IContentTracker::Open (IDataBasedb,
UID id 
)
pure virtual

Open the specified database for tracking.

Parameters
dbIN The database
idIN The UID of the database's Content Manager
virtual void IContentTracker::PopContext ()
pure virtual

Notify the Content Manager that we are leaving the most recently established class or implementation context.

virtual void IContentTracker::PushClassContext (ClassID context)
pure virtual

Notify the Content Manager that we are starting to process data that belongs to the specified class.

Parameters
contextIN The ID of the class that owns the data
virtual void IContentTracker::PushImplementationContext (ImplementationID context)
pure virtual

Notify the Content Manager that we are starting to process data that belongs to the specified implementation.

Parameters
contextIN The ID of the implementation that owns the data