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 ()
TAutoSymbol * Lookup (TCHAR *name, owl::TLangId lang, short symFlags, long &id)
TAutoSymbol * LookupArg (TCHAR *name, owl::TLangId lang, TAutoSymbol *cmd, long &retid)
TAutoSymbol * FindId (long id, ObjectPtr &objptr)
TAutoSymbol * FindFunction (unsigned index, MEMBERID &retId)
TAutoSymbol * FindVariable (unsigned index, MEMBERID &retId)
TXAuto::TError Dispatch (ObjectPtr obj, TAutoCreator &creator, TUnknown &owner, int attr, TAutoStack &args, TAutoVal *retval)
TAutoSymbol * GetTable () const
TAutoSymbol * GetClassSymbol () 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)
TAutoSymbol * Table
 pointer to array of symbol entries
TAutoSymbol * ClassSymbol
 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 )

◆ ~TAutoClass()

ocf::TAutoClass::~TAutoClass ( )

Definition at line 67 of file autosym.cpp.

References TAutoClass().

Member Function Documentation

◆ Aggregate()

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

Definition at line 1493 of file autodefs.h.

References Aggregator.

◆ CountCommands()

◆ Dispatch()

◆ FindFunction()

◆ FindId()

◆ FindVariable()

◆ 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, and ocf::tfCoClassXfer.

◆ GetDestructor()

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

Definition at line 1466 of file autodefs.h.

References 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.

◆ 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, and ocf::tfAutoClassMask.

◆ 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 )

◆ LookupArg()

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

◆ TAppDescriptor

friend class TAppDescriptor
friend

access to linkage information

Definition at line 212 of file autodefs.h.

References TAppDescriptor.

◆ TClassList

friend struct TClassList
friend

access to TAutoClassRef

Definition at line 211 of file autodefs.h.

◆ TCoClassInfo

friend class _ICLASS TCoClassInfo
friend

access to TAutoClassRef

Definition at line 214 of file autodefs.h.

References _ICLASS, and TCoClassInfo.

◆ TExtLink

friend struct TExtLink
friend

access to ClassList

Definition at line 210 of file autodefs.h.

◆ TOcControlEvent

friend class _ICLASS TOcControlEvent
friend

access to AutoIds bool

Definition at line 215 of file autodefs.h.

References _ICLASS, and TOcControlEvent.

◆ TServedObject

friend class TServedObject
friend

Definition at line 186 of file autodefs.h.

References TAutoClass(), and TServedObject.

◆ TTypeLibrary

friend class _ICLASS TTypeLibrary
friend

access to TAutoClassRef

Definition at line 213 of file autodefs.h.

References _ICLASS, and TTypeLibrary.

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: