TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iModuleDef Struct Referenceabstract
Inheritance diagram for iModuleDef:
iUnknown sModuleDef

Detailed Description

Module definition interface.

Public Member Functions

virtual const acharGetName () const =0
 Get the module's name. More...
 
virtual const acharGetVersion () const =0
 Get the module's version. More...
 
virtual const acharGetDesc () const =0
 Get the module's description. More...
 
virtual const acharGetAuthor () const =0
 Get the module's author. More...
 
virtual const acharGetCopyright () const =0
 Get the module's copyright. More...
 
virtual const tU32 GetNumDependencies () const =0
 Get the number of dependencies. More...
 
virtual const acharGetDependency (tU32 anIndex) const =0
 Get the dependency at the given index. More...
 
virtual const tU32 GetNumInterfaces () const =0
 Get the number of interfaces. More...
 
virtual const sInterfaceDefGetInterface (tU32 anIndex) const =0
 Get the interface at the given index. {NoAutomation}. More...
 
virtual const tU32 GetNumEnums () const =0
 Get the number of enumerations. More...
 
virtual const sEnumDefGetEnum (tU32 anIndex) const =0
 Get the enumeration at the given index. {NoAutomation}. More...
 
virtual const tU32 GetNumConstants () const =0
 Get the number of constants. More...
 
virtual const sConstantDefGetConstant (tU32 anIndex) const =0
 Get the constant at the given index. {NoAutomation}. More...
 
virtual const tU32 GetNumObjectTypes () const =0
 Get the number of object types. More...
 
virtual const iObjectTypeDefGetObjectType (tU32 anIndex) const =0
 Get the object type at the given index,. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual const achar* GetName ( ) const
pure virtual

Get the module's name.

Implemented in sModuleDef.

virtual const achar* GetVersion ( ) const
pure virtual

Get the module's version.

Implemented in sModuleDef.

virtual const achar* GetDesc ( ) const
pure virtual

Get the module's description.

Implemented in sModuleDef.

virtual const achar* GetAuthor ( ) const
pure virtual

Get the module's author.

Implemented in sModuleDef.

virtual const achar* GetCopyright ( ) const
pure virtual

Get the module's copyright.

Implemented in sModuleDef.

virtual const tU32 GetNumDependencies ( ) const
pure virtual

Get the number of dependencies.

Implemented in sModuleDef.

virtual const achar* GetDependency ( tU32  anIndex) const
pure virtual

Get the dependency at the given index.

Remarks
The dependency are usually another module, but could be something else like only one interface, that's why it is stored as a string and not as a ModuleID.

Implemented in sModuleDef.

virtual const tU32 GetNumInterfaces ( ) const
pure virtual

Get the number of interfaces.

Implemented in sModuleDef.

virtual const sInterfaceDef* GetInterface ( tU32  anIndex) const
pure virtual

Get the interface at the given index. {NoAutomation}.

Implemented in sModuleDef.

virtual const tU32 GetNumEnums ( ) const
pure virtual

Get the number of enumerations.

Implemented in sModuleDef.

virtual const sEnumDef* GetEnum ( tU32  anIndex) const
pure virtual

Get the enumeration at the given index. {NoAutomation}.

Implemented in sModuleDef.

virtual const tU32 GetNumConstants ( ) const
pure virtual

Get the number of constants.

Implemented in sModuleDef.

virtual const sConstantDef* GetConstant ( tU32  anIndex) const
pure virtual

Get the constant at the given index. {NoAutomation}.

Implemented in sModuleDef.

virtual const tU32 GetNumObjectTypes ( ) const
pure virtual

Get the number of object types.

Implemented in sModuleDef.

virtual const iObjectTypeDef* GetObjectType ( tU32  anIndex) const
pure virtual

Get the object type at the given index,.

Implemented in sModuleDef.