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

A list of param entries for use as an intermediate between a TRegList and the actual template list used to generate the registration. More...

#include <owl/registry.h>

Classes

struct  TEntry
 

Public Member Functions

 TRegParamList (const TEntry *)
 
 ~TRegParamList ()
 
int Find (LPCTSTR param)
 Looks for a given param in this param list.
 
int Find (const tstring &param)
 
int GetCount () const
 Return the number of param entries in this list.
 
const tchar *& Value (int i)
 Return the value of the param entry at the passed index.
 
void ResetDefaultValues ()
 
const TEntryoperator[] (int i) const
 Return the template string at the passed index.
 

Detailed Description

A list of param entries for use as an intermediate between a TRegList and the actual template list used to generate the registration.

Provides default values in 'Default', and tags required templates using octal char entries in 'TemplatesNeeded'.

Definition at line 780 of file registry.h.

Constructor & Destructor Documentation

◆ TRegParamList()

owl::TRegParamList::TRegParamList ( const TEntry * list)

Definition at line 1216 of file registry.cpp.

References owl::TRegParamList::TEntry::Param, and PRECONDITION.

◆ ~TRegParamList()

owl::TRegParamList::~TRegParamList ( )

Definition at line 1231 of file registry.cpp.

Member Function Documentation

◆ Find() [1/2]

int owl::TRegParamList::Find ( const tstring & param)
inline

Definition at line 794 of file registry.h.

References Find().

◆ Find() [2/2]

int owl::TRegParamList::Find ( LPCTSTR param)

Looks for a given param in this param list.

Associative lookup of value by param.

Definition at line 1250 of file registry.cpp.

References _tcscmp, and PRECONDITION.

◆ GetCount()

int owl::TRegParamList::GetCount ( ) const
inline

Return the number of param entries in this list.

Definition at line 1453 of file registry.h.

◆ operator[]()

const TRegParamList::TEntry & owl::TRegParamList::operator[] ( int i) const
inline

Return the template string at the passed index.

Definition at line 1461 of file registry.h.

References PRECONDITION.

◆ ResetDefaultValues()

void owl::TRegParamList::ResetDefaultValues ( )

Definition at line 1240 of file registry.cpp.

◆ Value()

const tchar *& owl::TRegParamList::Value ( int i)
inline

Return the value of the param entry at the passed index.

Definition at line 1470 of file registry.h.

References PRECONDITION.


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