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

Public Types | |
| typedef object_type | data_type |
Public Member Functions | |
| BaseScriptInfo (const ScriptID &id, const PMString &name, const PMString &desc) | |
| BaseScriptInfo (const BaseScriptInfo &other) | |
| const ScriptID & | GetScriptID () const |
| const PMString & | GetName () const |
| void | SetName (const PMString &name) |
| const PMString & | GetFormattedName (const FormatNamePolicy &policy) const |
| virtual const PMString & | GetFormattedName (const RequestContext &context, ScriptElementType as) const |
| virtual PMString | GetDescription () const |
| BaseScriptInfo & | operator= (const BaseScriptInfo &) |
| bool16 | operator== (const BaseScriptInfo &) const |
| virtual void | ReadWrite (IPMStream *s) |
Protected Types | |
| typedef IDThreading::lock_guard < IDThreading::spin_mutex > | LockGuard |
Protected Member Functions | |
| PMString | GetFormattedDescription (const ObjectScriptElement *) const |
Static Protected Member Functions | |
| static void | FormatDescription (PMString &desc, const ObjectScriptElement *) |
Protected Attributes | |
| IDThreading::spin_mutex | fMutex |
The base class for sub-elements in a scripting DOM.
| staticprotected |
Format a description in the context of the supplied object
| inlinevirtual |
Get the description
| protected |
Get the formatted description in the context of the supplied object
| const PMString& ScriptInfo::BaseScriptInfo::GetFormattedName | ( | const FormatNamePolicy & | policy | ) | const |
Get the formatted name
| policy | indicates how to format the name |
| virtual |
Get the formatted name
| context | the request context in which to format the name |
| as | which type of script element |
Reimplemented in ScriptInfo::EnumScriptElement, ScriptInfo::EnumValue, ScriptInfo::EventScriptElement, ScriptInfo::PropertyScriptElement, ScriptInfo::MethodScriptElement, ScriptInfo::MethodParam, ScriptInfo::SuiteScriptElement, and ScriptInfo::TypeDefScriptElement.
| inline |
Get the name
| inline |
Get the ScriptID
| virtual |
| void ScriptInfo::BaseScriptInfo::SetName | ( | const PMString & | name | ) |
Set the name