OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TAutoEnumT< T > Class Template Reference

#include <ocf/autodefs.h>

Inheritance diagram for ocf::TAutoEnumT< T >:
ocf::TAutoEnum ocf::TAutoType

Public Member Functions

 TAutoEnumT (TAutoEnumVal< T > *table, int symcount, int type)
bool Convert (TAutoVal &txtVal, TAutoVal &numVal)
bool Convert (TAutoVal &numVal, owl::TLangId langId)
bool Convert (TAutoVal &numVal, owl::TLangId langId)
 BGM: PRON 1325 (compiler bug) prevents this #pragma for working with some templatized functions.
Public Member Functions inherited from ocf::TAutoType
owl::uint16 GetType () const

Protected Attributes

TAutoEnumVal< T > * Table
 pointer to array of symbol entries
Protected Attributes inherited from ocf::TAutoEnum
int Count
 length of this symbol table

Additional Inherited Members

Public Attributes inherited from ocf::TAutoType
owl::uint16 Type
Protected Member Functions inherited from ocf::TAutoEnum
 TAutoEnum (int count, int type)

Detailed Description

template<class T>
class ocf::TAutoEnumT< T >

Definition at line 910 of file autodefs.h.

Constructor & Destructor Documentation

◆ TAutoEnumT()

template<class T>
ocf::TAutoEnumT< T >::TAutoEnumT ( TAutoEnumVal< T > * table,
int symcount,
int type )
inline

Definition at line 1837 of file autodefs.h.

References ocf::TAutoEnum::TAutoEnum(), and Table.

Member Function Documentation

◆ Convert() [1/3]

bool ocf::TAutoEnumT< LPCTSTR >::Convert ( TAutoVal & numVal,
owl::TLangId langId )
inlinevirtual

BGM: PRON 1325 (compiler bug) prevents this #pragma for working with some templatized functions.

Deferred for Ebony.

Implements ocf::TAutoEnum.

Definition at line 1883 of file autodefs.h.

References ocf::TAutoEnum::Count, ocf::TAutoVal::SetLocale(), ocf::TAutoVal::StrVal(), and Table.

◆ Convert() [2/3]

template<class T>
bool ocf::TAutoEnumT< T >::Convert ( TAutoVal & numVal,
owl::TLangId langId )
virtual

Implements ocf::TAutoEnum.

Definition at line 1862 of file autodefs.h.

References ocf::TAutoEnum::Count, ocf::TAutoVal::SetLocale(), and Table.

◆ Convert() [3/3]

template<class T>
bool ocf::TAutoEnumT< T >::Convert ( TAutoVal & txtVal,
TAutoVal & numVal )
virtual

Member Data Documentation

◆ Table

template<class T>
TAutoEnumVal<T>* ocf::TAutoEnumT< T >::Table
protected

pointer to array of symbol entries

Definition at line 917 of file autodefs.h.


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