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

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.
 
TRegKeyGetBaseKey ()
 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TRegTemplateList()

owl::TRegTemplateList::TRegTemplateList ( TRegKey & basekey,
LPCTSTR _list[] )

Definition at line 1170 of file registry.cpp.

References PRECONDITION.

◆ ~TRegTemplateList()

owl::TRegTemplateList::~TRegTemplateList ( )

Definition at line 1185 of file registry.cpp.

Member Function Documentation

◆ Activate() [1/3]

void owl::TRegTemplateList::Activate ( const tstring & set)
inline

Definition at line 762 of file registry.h.

References Activate().

◆ Activate() [2/3]

void owl::TRegTemplateList::Activate ( int i)
inline

Activates the template at the passed index.

Note
The list is indexed beginning with 1 not 0.

Definition at line 1426 of file registry.h.

References PRECONDITION.

◆ Activate() [3/3]

void owl::TRegTemplateList::Activate ( LPCTSTR set)

Definition at line 1204 of file registry.cpp.

◆ DisableAll()

void owl::TRegTemplateList::DisableAll ( )
inline

Disables all templates in this list.

Definition at line 1398 of file registry.h.

◆ Enable() [1/3]

void owl::TRegTemplateList::Enable ( const tstring & set)
inline

Definition at line 758 of file registry.h.

References Enable().

◆ Enable() [2/3]

void owl::TRegTemplateList::Enable ( int i)
inline

Enables the template at the passed index.

Note
The list is indexed beginning with 1 not 0.

Definition at line 1415 of file registry.h.

References PRECONDITION.

◆ Enable() [3/3]

void owl::TRegTemplateList::Enable ( LPCTSTR set)

Definition at line 1194 of file registry.cpp.

◆ EnableAll()

void owl::TRegTemplateList::EnableAll ( )
inline

Enables all templates in this list.

Definition at line 1406 of file registry.h.

◆ GetBaseKey()

TRegKey & owl::TRegTemplateList::GetBaseKey ( )
inline

Returns the registry key upon which these templates are based.

Definition at line 1377 of file registry.h.

◆ GetCount()

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

Returns the number of templates in this list.

Definition at line 1369 of file registry.h.

◆ IsActive()

bool owl::TRegTemplateList::IsActive ( int i) const
inline

Returns true if the template at the passed index is active, false otherwise.

Note
The list is indexed beginning with 1 not 0.

Definition at line 1437 of file registry.h.

References PRECONDITION.

◆ operator[]()

LPCTSTR owl::TRegTemplateList::operator[] ( int i)
inline

Returns the template string at the passed index.

Note
The list is indexed beginning with 1 not 0.

Definition at line 1386 of file registry.h.

References PRECONDITION.


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