|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <ocf/autodefs.h>
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 |
Definition at line 147 of file autodefs.h.
| ocf::TAutoClass::TAutoClass | ( | TAutoSymbol * | table, |
| TAutoSymbol * | classSymbol, | ||
| const std::type_info & | typeInfo, | ||
| TAggregator | aggregator = 0 ) |
Definition at line 56 of file autosym.cpp.
References Aggregator, ocf::atAutoClass, ocf::atObject, AutoIds, ClassSymbol, Table, ocf::TAutoType::Type, and TypeInfo.
| ocf::TAutoClass::~TAutoClass | ( | ) |
Definition at line 67 of file autosym.cpp.
References TAutoClass().
Definition at line 1493 of file autodefs.h.
References Aggregator.
| short ocf::TAutoClass::CountCommands | ( | ) |
Definition at line 76 of file autosym.cpp.
References TAutoClass(), ocf::asAnyCommand, ocf::asClass, ocf::asGetSet, ocf::asOleType, CommandCount, CountCommands(), FunctionCount, ocf::TAutoSymbol::GetClass(), ocf::TAutoSymbol::GetFlags(), ocf::TAutoSymbol::IsTerminator(), Table, ocf::TAutoSymbol::TestFlag(), and VariableCount.
| TXAuto::TError ocf::TAutoClass::Dispatch | ( | ObjectPtr | obj, |
| TAutoCreator & | creator, | ||
| TUnknown & | owner, | ||
| int | attr, | ||
| TAutoStack & | args, | ||
| TAutoVal * | retval ) |
Definition at line 256 of file autosym.cpp.
References ocf::TAutoStack::ArgCount, ocf::TAutoEnum::Convert(), ocf::TAutoCreator::CreateDispatch(), ocf::TAutoStack::ErrorCode, ocf::TXAuto::ErrorCode, ocf::TAutoStack::ErrorMsg, ocf::TAutoSymbol::GetEnum(), ocf::TAutoVal::GetObjDesc(), ocf::TAutoIterator::Init(), ocf::TAutoCommand::Invoke(), ocf::TAutoSymbol::IsEnum(), ocf::TAutoSymbol::IsIterator(), ocf::TAutoStack::LangId, ocf::TAutoCommand::LookupError(), ocf::TAutoSymbol::Name, ocf::TObjectDescBase::Object, ocf::TAutoCommand::Report(), ocf::TAutoCommand::Return(), ocf::TAutoCommand::SetSymbol(), ocf::TAutoIterator::SetSymbol(), ocf::TAutoStack::Symbol, owl::TLocaleString::Translate(), ocf::TAutoCommand::Validate(), ocf::TXAuto::xErrorStatus, ocf::TXAuto::xNoError, and ocf::TXAuto::xValidateFailure.
| TAutoSymbol * ocf::TAutoClass::FindFunction | ( | unsigned | index, |
| MEMBERID & | retId ) |
Definition at line 147 of file autosym.cpp.
References TAutoClass(), ocf::asAnyCommand, ocf::asClass, ocf::asGetSet, ocf::asOleType, CommandCount, CountCommands(), FindFunction(), FunctionCount, ocf::TAutoSymbol::GetClass(), ocf::TAutoSymbol::GetFlags(), ocf::TAutoSymbol::IsTerminator(), Table, and ocf::TAutoSymbol::TestFlag().
| TAutoSymbol * ocf::TAutoClass::FindId | ( | long | id, |
| ObjectPtr & | objptr ) |
Definition at line 103 of file autosym.cpp.
References ocf::asAnyCommand, ocf::asClass, AutoIds, CountCommands(), FindId(), ocf::TAutoSymbol::GetClass(), ocf::TAutoSymbol::IsTerminator(), Table, and ocf::TAutoSymbol::TestFlag().
| TAutoSymbol * ocf::TAutoClass::FindVariable | ( | unsigned | index, |
| MEMBERID & | retId ) |
Definition at line 177 of file autosym.cpp.
References TAutoClass(), ocf::asAnyCommand, ocf::asClass, ocf::asGetSet, CommandCount, CountCommands(), FindVariable(), ocf::TAutoSymbol::GetClass(), ocf::TAutoSymbol::GetFlags(), ocf::TAutoSymbol::IsTerminator(), Table, ocf::TAutoSymbol::TestFlag(), and VariableCount.
|
inline |
Definition at line 1490 of file autodefs.h.
References Aggregator.
| short ocf::TAutoClass::GetArgCount | ( | TAutoSymbol & | sym | ) |
Definition at line 207 of file autosym.cpp.
References ocf::asArgument.
|
inline |
Definition at line 1463 of file autodefs.h.
References ClassSymbol.
|
inline |
Definition at line 1487 of file autodefs.h.
References ClassSymbol, and ocf::tfCoClassXfer.
|
inline |
Definition at line 1466 of file autodefs.h.
References ClassSymbol.
|
inline |
Definition at line 1475 of file autodefs.h.
References ClassSymbol, ocf::TAutoSymbol::Doc, and owl::TLocaleString::Translate().
|
inline |
Definition at line 1478 of file autodefs.h.
References ClassSymbol, and ocf::TAutoSymbol::HelpId.
|
inline |
Definition at line 1484 of file autodefs.h.
References ClassSymbol.
|
inline |
Definition at line 1472 of file autodefs.h.
References ClassSymbol, ocf::TAutoSymbol::Name, and owl::TLocaleString::Translate().
|
inline |
Definition at line 1460 of file autodefs.h.
References Table.
|
inline |
Definition at line 1481 of file autodefs.h.
References ClassSymbol, and ocf::tfAutoClassMask.
|
inline |
Definition at line 1469 of file autodefs.h.
References TypeInfo.
| TAutoSymbol * ocf::TAutoClass::Lookup | ( | TCHAR * | name, |
| owl::TLangId | lang, | ||
| short | symFlags, | ||
| long & | id ) |
Definition at line 216 of file autosym.cpp.
References TAutoClass(), ocf::asAnyCommand, ocf::asClass, CountCommands(), ocf::TAutoSymbol::IsTerminator(), Lookup(), and Table.
| TAutoSymbol * ocf::TAutoClass::LookupArg | ( | TCHAR * | name, |
| owl::TLangId | lang, | ||
| TAutoSymbol * | cmd, | ||
| long & | retid ) |
Definition at line 243 of file autosym.cpp.
References ocf::asArgument, owl::TLocaleString::Compare(), ocf::TAutoSymbol::Name, and PRECONDITION.
|
friend |
|
friend |
access to TAutoClassRef
Definition at line 211 of file autodefs.h.
|
friend |
access to TAutoClassRef
Definition at line 214 of file autodefs.h.
References _ICLASS, and TCoClassInfo.
|
friend |
access to ClassList
Definition at line 210 of file autodefs.h.
|
friend |
access to AutoIds bool
Definition at line 215 of file autodefs.h.
References _ICLASS, and TOcControlEvent.
|
friend |
Definition at line 186 of file autodefs.h.
References TAutoClass(), and TServedObject.
|
friend |
access to TAutoClassRef
Definition at line 213 of file autodefs.h.
References _ICLASS, and TTypeLibrary.
|
protected |
aggregator function for C++ COM classes
Definition at line 178 of file autodefs.h.
|
protected |
generate ID's automatically if true (default)
Definition at line 182 of file autodefs.h.
|
protected |
pointer to class symbol (terminator)
Definition at line 184 of file autodefs.h.
|
protected |
command count including bases, 0 if uncounted
Definition at line 179 of file autodefs.h.
|
protected |
number of symbols exposed as typelib functions
Definition at line 180 of file autodefs.h.
|
protected |
pointer to array of symbol entries
Definition at line 183 of file autodefs.h.
|
protected |
for validating type of data pointers
Definition at line 185 of file autodefs.h.
|
protected |
number of symbols exposed as typelib variables
Definition at line 181 of file autodefs.h.