OWLNext 7.0
Borland's Object Windows Library for the modern age
|
List of parameterized template strings that represent the actual entries to be registered. More...
#include <owl/registry.h>
Public Member Functions | |
TRegTemplateList (TRegKey &basekey, LPCTSTR _list[]) | |
~TRegTemplateList () | |
int | GetCount () const |
Returns the number of templates in this list. | |
TRegKey & | GetBaseKey () |
Returns the registry key upon which these templates are based. | |
LPCTSTR | operator[] (int i) |
Returns the template string at the passed index. | |
void | DisableAll () |
Disables all templates in this list. | |
void | EnableAll () |
Enables all templates in this list. | |
void | Enable (int i) |
Enables the template at the passed index. | |
void | Enable (LPCTSTR set) |
void | Enable (const tstring &set) |
void | Activate (int i) |
Activates the template at the passed index. | |
void | Activate (LPCTSTR set) |
void | Activate (const tstring &set) |
bool | IsActive (int i) const |
Returns true if the template at the passed index is active, false otherwise. | |
List of parameterized template strings that represent the actual entries to be registered.
List is indexed from 1 for used with param-list template activation strings. See TRegParamList below.
Definition at line 741 of file registry.h.
Definition at line 1170 of file registry.cpp.
References PRECONDITION.
owl::TRegTemplateList::~TRegTemplateList | ( | ) |
Definition at line 1185 of file registry.cpp.
Definition at line 762 of file registry.h.
References Activate().
Activates the template at the passed index.
Definition at line 1426 of file registry.h.
References PRECONDITION.
Definition at line 1204 of file registry.cpp.
|
inline |
Disables all templates in this list.
Definition at line 1398 of file registry.h.
Definition at line 758 of file registry.h.
References Enable().
Enables the template at the passed index.
Definition at line 1415 of file registry.h.
References PRECONDITION.
Definition at line 1194 of file registry.cpp.
|
inline |
Enables all templates in this list.
Definition at line 1406 of file registry.h.
|
inline |
Returns the registry key upon which these templates are based.
Definition at line 1377 of file registry.h.
|
inline |
Returns the number of templates in this list.
Definition at line 1369 of file registry.h.
Returns true if the template at the passed index is active, false otherwise.
Definition at line 1437 of file registry.h.
References PRECONDITION.
Returns the template string at the passed index.
Definition at line 1386 of file registry.h.
References PRECONDITION.