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

#include <ScriptInfoDefs.h>

Inheritance diagram for ScriptInfo::ProviderPacket:
ScriptInfo::ChildProviderPacketScriptInfo::CollectionMethodProviderPacketScriptInfo::EventProviderPacketScriptInfo::MethodProviderPacketScriptInfo::ParentProviderPacketScriptInfo::PropertyProviderPacket

Public Types

typedef object_type data_type
 

Public Member Functions

 ProviderPacket (const ElementContext &context, const ClassID &provider, const PluginID &pluginID, bool16 surrogate, uint8 inheritance)
 
const ElementContextGetContext () const
 
const ClassIDGetProvider () const
 
const PluginIDGetPluginID () const
 
IScriptProviderQueryScriptProvider () const
 
void SetPluginID (const PluginID &pluginID)
 
bool16 IsSurrogate () const
 
bool16 IsInherited () const
 
uint8 GetInheritance () const
 

Detailed Description

ProviderPackets are used to associate elements on an object with the script provider boss that handles a request for them.

See Also
ProviderPacketIterator

Member Function Documentation

const ElementContext& ScriptInfo::ProviderPacket::GetContext () const
inline

Get the context of this packet

uint8 ScriptInfo::ProviderPacket::GetInheritance () const
inline

Get the level of inheritance (1 = from parent class, 2 = from grandparent class, etc.)

const PluginID& ScriptInfo::ProviderPacket::GetPluginID () const
inline

Get the PluginID in which this relationship was defined

const ClassID& ScriptInfo::ProviderPacket::GetProvider () const
inline

Get the provider

bool16 ScriptInfo::ProviderPacket::IsInherited () const
inline

Get whether this element was added via inheritance

bool16 ScriptInfo::ProviderPacket::IsSurrogate () const
inline

Get whether this element is a surrogate

IScriptProvider* ScriptInfo::ProviderPacket::QueryScriptProvider () const

Query the provider

void ScriptInfo::ProviderPacket::SetPluginID (const PluginIDpluginID)
inline

Set the PluginID in which this relationship was defined