OWLNext 7.0
Borland's Object Windows Library for the modern age
|
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 ¶m) |
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 TEntry & | operator[] (int i) const |
Return the template string at the passed index. | |
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.
owl::TRegParamList::TRegParamList | ( | const TEntry * | list | ) |
Definition at line 1216 of file registry.cpp.
References owl::TRegParamList::TEntry::Param, and PRECONDITION.
owl::TRegParamList::~TRegParamList | ( | ) |
Definition at line 1231 of file registry.cpp.
Definition at line 794 of file registry.h.
References Find().
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.
|
inline |
Return the number of param entries in this list.
Definition at line 1453 of file registry.h.
|
inline |
Return the template string at the passed index.
Definition at line 1461 of file registry.h.
References PRECONDITION.
void owl::TRegParamList::ResetDefaultValues | ( | ) |
Definition at line 1240 of file registry.cpp.
Return the value of the param entry at the passed index.
Definition at line 1470 of file registry.h.
References PRECONDITION.