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

Symbol table element. More...

#include <ocf/autodefs.h>

Public Member Functions

void SetFlag (owl::uint16 mask)
 
void ClearFlag (owl::uint16 mask)
 
bool TestFlag (owl::uint16 mask) const
 
owl::uint16 GetFlags () const
 
bool IsEnum () const
 
bool IsByRef () const
 
bool IsArray () const
 
bool IsIterator () const
 
bool IsTerminator () const
 
owl::uint16 GetDataType () const
 
TAutoClass * GetClass () const
 
TAutoEnum * GetEnum () const
 

Static Public Member Functions

static TAutoCommandBuild InitTypeConvert (TAutoSymTypeConvert f)
 
static TAutoCommandBuild InitAutoIterator (TAutoIteratorBuild f)
 
static TAutoCommandBuild InitAutoDestructor (TAutoCommandBuildDtr f)
 

Public Attributes

owl::TLocaleString Name
 name of symbol, initially untranslated
 
owl::TLocaleString Doc
 documentation string, initially untranslated
 
owl::uint32 Attr
 attributes: enum AutoSymFlag, as???? (could be owl::uint16)
 
union { 
 
   long   DispId 
 reserved dispatch ID, if not 0 More...
 
   short   SymCount 
 asClass only: symbol count, 0 = uncounted yet More...
 
   unsigned short   TypeFlags 
 class symbol only (terminator) More...
 
};  
 
TAutoType * Type
 pointer to class/type/enum descriptor
 
union { 
 
   TAutoCommandBuild   Build 
 asAnyCommand only: address of command builder More...
 
   TAutoIteratorBuild   BuildIter 
 asIterator only: address of iterator builder More...
 
   TAutoSymTypeConvert   Convert 
 asFactory/asClass: function to perform cast More...
 
   TAutoCommandBuildDtr   BuildDtr 
 terminator only: destructor command builder More...
 
   void *   DefaultArg 
 asArgument: default value, extends to 8 bytes More...
 
};  
 
owl::ulong HelpId
 help context ID, not for asArgument
 

Detailed Description

Symbol table element.

Definition at line 404 of file autodefs.h.

Member Function Documentation

◆ ClearFlag()

void ocf::TAutoSymbol::ClearFlag ( owl::uint16 mask)
inline

Definition at line 1504 of file autodefs.h.

References Attr.

◆ GetClass()

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

Definition at line 1531 of file autodefs.h.

References ocf::atAutoClass, ocf::TAutoType::GetType(), and Type.

◆ GetDataType()

owl::uint16 ocf::TAutoSymbol::GetDataType ( ) const
inline

Definition at line 1528 of file autodefs.h.

References ocf::atTypeMask, ocf::TAutoType::GetType(), and Type.

◆ GetEnum()

TAutoEnum * ocf::TAutoSymbol::GetEnum ( ) const
inline

Definition at line 1534 of file autodefs.h.

References ocf::atEnum, ocf::TAutoType::GetType(), and Type.

◆ GetFlags()

owl::uint16 ocf::TAutoSymbol::GetFlags ( ) const
inline

Definition at line 1510 of file autodefs.h.

References Attr.

◆ InitAutoDestructor()

TAutoCommandBuild ocf::TAutoSymbol::InitAutoDestructor ( TAutoCommandBuildDtr f)
inlinestatic

Definition at line 1541 of file autodefs.h.

◆ InitAutoIterator()

TAutoCommandBuild ocf::TAutoSymbol::InitAutoIterator ( TAutoIteratorBuild f)
inlinestatic

Definition at line 1539 of file autodefs.h.

◆ InitTypeConvert()

TAutoCommandBuild ocf::TAutoSymbol::InitTypeConvert ( TAutoSymTypeConvert f)
inlinestatic

Definition at line 1537 of file autodefs.h.

◆ IsArray()

bool ocf::TAutoSymbol::IsArray ( ) const
inline

Definition at line 1519 of file autodefs.h.

References ocf::atSafeArray, ocf::TAutoType::GetType(), and Type.

◆ IsByRef()

bool ocf::TAutoSymbol::IsByRef ( ) const
inline

Definition at line 1516 of file autodefs.h.

References ocf::atByRef, ocf::TAutoType::GetType(), and Type.

◆ IsEnum()

bool ocf::TAutoSymbol::IsEnum ( ) const
inline

Definition at line 1513 of file autodefs.h.

References ocf::atEnum, ocf::TAutoType::GetType(), and Type.

◆ IsIterator()

bool ocf::TAutoSymbol::IsIterator ( ) const
inline

Definition at line 1522 of file autodefs.h.

References ocf::asIterator, and Attr.

◆ IsTerminator()

bool ocf::TAutoSymbol::IsTerminator ( ) const
inline

Definition at line 1525 of file autodefs.h.

References ocf::asNotTerminator, and Attr.

◆ SetFlag()

void ocf::TAutoSymbol::SetFlag ( owl::uint16 mask)
inline

Definition at line 1501 of file autodefs.h.

References Attr.

◆ TestFlag()

bool ocf::TAutoSymbol::TestFlag ( owl::uint16 mask) const
inline

Definition at line 1507 of file autodefs.h.

References Attr.

Member Data Documentation

◆ [union]

union { ... } ocf::TAutoSymbol

◆ [union]

union { ... } ocf::TAutoSymbol

◆ Attr

owl::uint32 ocf::TAutoSymbol::Attr

attributes: enum AutoSymFlag, as???? (could be owl::uint16)

Definition at line 407 of file autodefs.h.

◆ Build

TAutoCommandBuild ocf::TAutoSymbol::Build

asAnyCommand only: address of command builder

Definition at line 415 of file autodefs.h.

◆ BuildDtr

TAutoCommandBuildDtr ocf::TAutoSymbol::BuildDtr

terminator only: destructor command builder

Definition at line 418 of file autodefs.h.

◆ BuildIter

TAutoIteratorBuild ocf::TAutoSymbol::BuildIter

asIterator only: address of iterator builder

Definition at line 416 of file autodefs.h.

◆ Convert

TAutoSymTypeConvert ocf::TAutoSymbol::Convert

asFactory/asClass: function to perform cast

Definition at line 417 of file autodefs.h.

◆ DefaultArg

void* ocf::TAutoSymbol::DefaultArg

asArgument: default value, extends to 8 bytes

Definition at line 419 of file autodefs.h.

◆ DispId

long ocf::TAutoSymbol::DispId

reserved dispatch ID, if not 0

Definition at line 409 of file autodefs.h.

◆ Doc

owl::TLocaleString ocf::TAutoSymbol::Doc

documentation string, initially untranslated

Definition at line 406 of file autodefs.h.

◆ HelpId

owl::ulong ocf::TAutoSymbol::HelpId

help context ID, not for asArgument

Definition at line 421 of file autodefs.h.

◆ Name

owl::TLocaleString ocf::TAutoSymbol::Name

name of symbol, initially untranslated

Definition at line 405 of file autodefs.h.

◆ SymCount

short ocf::TAutoSymbol::SymCount

asClass only: symbol count, 0 = uncounted yet

Definition at line 410 of file autodefs.h.

◆ Type

TAutoType* ocf::TAutoSymbol::Type

pointer to class/type/enum descriptor

Definition at line 413 of file autodefs.h.

◆ TypeFlags

unsigned short ocf::TAutoSymbol::TypeFlags

class symbol only (terminator)

Definition at line 411 of file autodefs.h.


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