OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TAutoClass Class Reference

#include <ocf/autodefs.h>

Inheritance diagram for ocf::TAutoClass:
ocf::TAutoType

Public Member Functions

 TAutoClass (TAutoSymbol *table, TAutoSymbol *classSymbol, const std::type_info &typeInfo, TAggregator aggregator=0)
 
 ~TAutoClass ()
 
short CountCommands ()
 
TAutoSymbolLookup (TCHAR *name, owl::TLangId lang, short symFlags, long &id)
 
TAutoSymbolLookupArg (TCHAR *name, owl::TLangId lang, TAutoSymbol *cmd, long &retid)
 
TAutoSymbolFindId (long id, ObjectPtr &objptr)
 
TAutoSymbolFindFunction (unsigned index, MEMBERID &retId)
 
TAutoSymbolFindVariable (unsigned index, MEMBERID &retId)
 
TXAuto::TError Dispatch (ObjectPtr obj, TAutoCreator &creator, TUnknown &owner, int attr, TAutoStack &args, TAutoVal *retval)
 
TAutoSymbolGetTable () const
 
TAutoSymbolGetClassSymbol () const
 
short GetArgCount (TAutoSymbol &sym)
 
TAutoCommandBuildDtr GetDestructor () const
 
const std::type_info & GetTypeInfo () const
 
LPCTSTR GetName (owl::TLangId lang=owl::TLocaleString::UserDefaultLangId) const
 
LPCTSTR GetDoc (owl::TLangId lang=owl::TLocaleString::UserDefaultLangId) const
 
unsigned long GetHelpId () const
 
unsigned short GetTypeFlags () const
 
int GetImplTypeFlags () const
 
unsigned short GetCoClassFlags () const
 
TAggregator GetAggregator () const
 
IUnknown & Aggregate (ObjectPtr obj, TUnknown &inner)
 
- Public Member Functions inherited from ocf::TAutoType
owl::uint16 GetType () const
 

Protected Attributes

TAggregator Aggregator
 aggregator function for C++ COM classes
 
short CommandCount
 command count including bases, 0 if uncounted
 
short FunctionCount
 number of symbols exposed as typelib functions
 
short VariableCount
 number of symbols exposed as typelib variables
 
bool AutoIds
 generate ID's automatically if true (default)
 
TAutoSymbolTable
 pointer to array of symbol entries
 
TAutoSymbolClassSymbol
 pointer to class symbol (terminator)
 
const std::type_info & TypeInfo
 for validating type of data pointers
 

Friends

class TServedObject
 
struct TExtLink
 access to ClassList
 
struct TClassList
 access to TAutoClassRef
 
class TAppDescriptor
 access to linkage information
 
class _ICLASS TTypeLibrary
 access to TAutoClassRef
 
class _ICLASS TCoClassInfo
 access to TAutoClassRef
 
class _ICLASS TOcControlEvent
 access to AutoIds bool
 

Additional Inherited Members

- Public Attributes inherited from ocf::TAutoType
owl::uint16 Type
 

Detailed Description

Definition at line 147 of file autodefs.h.

Constructor & Destructor Documentation

◆ TAutoClass()

ocf::TAutoClass::TAutoClass ( TAutoSymbol * table,
TAutoSymbol * classSymbol,
const std::type_info & typeInfo,
TAggregator aggregator = 0 )

Definition at line 56 of file autosym.cpp.

References ocf::atAutoClass, ocf::atObject, and ocf::TAutoType::Type.

◆ ~TAutoClass()

ocf::TAutoClass::~TAutoClass ( )

Definition at line 67 of file autosym.cpp.

Member Function Documentation

◆ Aggregate()

IUnknown & ocf::TAutoClass::Aggregate ( ObjectPtr obj,
TUnknown & inner )
inline

Definition at line 1493 of file autodefs.h.

References Aggregator.

◆ CountCommands()

short ocf::TAutoClass::CountCommands ( )

◆ Dispatch()

◆ FindFunction()

TAutoSymbol * ocf::TAutoClass::FindFunction ( unsigned index,
MEMBERID & retId )

Definition at line 147 of file autosym.cpp.

References ocf::asAnyCommand, ocf::asClass, ocf::asGetSet, ocf::asOleType, and Table.

◆ FindId()

TAutoSymbol * ocf::TAutoClass::FindId ( long id,
ObjectPtr & objptr )

Definition at line 103 of file autosym.cpp.

References ocf::asAnyCommand, ocf::asClass, AutoIds, and Table.

◆ FindVariable()

TAutoSymbol * ocf::TAutoClass::FindVariable ( unsigned index,
MEMBERID & retId )

Definition at line 177 of file autosym.cpp.

References ocf::asAnyCommand, ocf::asClass, ocf::asGetSet, and Table.

◆ GetAggregator()

TAggregator ocf::TAutoClass::GetAggregator ( ) const
inline

Definition at line 1490 of file autodefs.h.

References Aggregator.

◆ GetArgCount()

short ocf::TAutoClass::GetArgCount ( TAutoSymbol & sym)

Definition at line 207 of file autosym.cpp.

References ocf::asArgument.

◆ GetClassSymbol()

TAutoSymbol * ocf::TAutoClass::GetClassSymbol ( ) const
inline

Definition at line 1463 of file autodefs.h.

References ClassSymbol.

◆ GetCoClassFlags()

unsigned short ocf::TAutoClass::GetCoClassFlags ( ) const
inline

Definition at line 1487 of file autodefs.h.

References ClassSymbol, ocf::tfCoClassXfer, and ocf::TAutoSymbol::TypeFlags.

◆ GetDestructor()

TAutoCommandBuildDtr ocf::TAutoClass::GetDestructor ( ) const
inline

Definition at line 1466 of file autodefs.h.

References ocf::TAutoSymbol::BuildDtr, and ClassSymbol.

◆ GetDoc()

LPCTSTR ocf::TAutoClass::GetDoc ( owl::TLangId lang = owl::TLocaleString::UserDefaultLangId) const
inline

Definition at line 1475 of file autodefs.h.

References ClassSymbol, ocf::TAutoSymbol::Doc, and owl::TLocaleString::Translate().

◆ GetHelpId()

unsigned long ocf::TAutoClass::GetHelpId ( ) const
inline

Definition at line 1478 of file autodefs.h.

References ClassSymbol, and ocf::TAutoSymbol::HelpId.

◆ GetImplTypeFlags()

int ocf::TAutoClass::GetImplTypeFlags ( ) const
inline

Definition at line 1484 of file autodefs.h.

References ClassSymbol, and ocf::TAutoSymbol::TypeFlags.

◆ GetName()

LPCTSTR ocf::TAutoClass::GetName ( owl::TLangId lang = owl::TLocaleString::UserDefaultLangId) const
inline

Definition at line 1472 of file autodefs.h.

References ClassSymbol, ocf::TAutoSymbol::Name, and owl::TLocaleString::Translate().

◆ GetTable()

TAutoSymbol * ocf::TAutoClass::GetTable ( ) const
inline

Definition at line 1460 of file autodefs.h.

References Table.

◆ GetTypeFlags()

unsigned short ocf::TAutoClass::GetTypeFlags ( ) const
inline

Definition at line 1481 of file autodefs.h.

References ClassSymbol, ocf::tfAutoClassMask, and ocf::TAutoSymbol::TypeFlags.

◆ GetTypeInfo()

const std::type_info & ocf::TAutoClass::GetTypeInfo ( ) const
inline

Definition at line 1469 of file autodefs.h.

References TypeInfo.

◆ Lookup()

TAutoSymbol * ocf::TAutoClass::Lookup ( TCHAR * name,
owl::TLangId lang,
short symFlags,
long & id )

Definition at line 216 of file autosym.cpp.

References ocf::asAnyCommand, ocf::asClass, and Table.

◆ LookupArg()

TAutoSymbol * ocf::TAutoClass::LookupArg ( TCHAR * name,
owl::TLangId lang,
TAutoSymbol * cmd,
long & retid )

Definition at line 243 of file autosym.cpp.

References ocf::asArgument, and PRECONDITION.

Friends And Related Symbol Documentation

◆ TAppDescriptor

access to linkage information

Definition at line 212 of file autodefs.h.

◆ TClassList

friend struct TClassList
friend

access to TAutoClassRef

Definition at line 211 of file autodefs.h.

◆ TCoClassInfo

access to TAutoClassRef

Definition at line 214 of file autodefs.h.

◆ TExtLink

friend struct TExtLink
friend

access to ClassList

Definition at line 210 of file autodefs.h.

◆ TOcControlEvent

access to AutoIds bool

Definition at line 215 of file autodefs.h.

◆ TServedObject

Definition at line 186 of file autodefs.h.

◆ TTypeLibrary

access to TAutoClassRef

Definition at line 213 of file autodefs.h.

Member Data Documentation

◆ Aggregator

TAggregator ocf::TAutoClass::Aggregator
protected

aggregator function for C++ COM classes

Definition at line 178 of file autodefs.h.

◆ AutoIds

bool ocf::TAutoClass::AutoIds
protected

generate ID's automatically if true (default)

Definition at line 182 of file autodefs.h.

◆ ClassSymbol

TAutoSymbol* ocf::TAutoClass::ClassSymbol
protected

pointer to class symbol (terminator)

Definition at line 184 of file autodefs.h.

◆ CommandCount

short ocf::TAutoClass::CommandCount
protected

command count including bases, 0 if uncounted

Definition at line 179 of file autodefs.h.

◆ FunctionCount

short ocf::TAutoClass::FunctionCount
protected

number of symbols exposed as typelib functions

Definition at line 180 of file autodefs.h.

◆ Table

TAutoSymbol* ocf::TAutoClass::Table
protected

pointer to array of symbol entries

Definition at line 183 of file autodefs.h.

◆ TypeInfo

const std::type_info& ocf::TAutoClass::TypeInfo
protected

for validating type of data pointers

Definition at line 185 of file autodefs.h.

◆ VariableCount

short ocf::TAutoClass::VariableCount
protected

number of symbols exposed as typelib variables

Definition at line 181 of file autodefs.h.


The documentation for this class was generated from the following files: