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

A single registration list entry. More...

#include <owl/registry.h>

Static Public Member Functions

static tcharRegFormat (int f, int a, int t, int d, TRegFormatHeap &heap)
 Registers data formats for the object.
 
static tcharRegFormat (LPCTSTR f, int a, int t, int d, TRegFormatHeap &heap)
 Registers data formats for the object.
 
static tcharRegFormat (const tstring &f, int a, int t, int d, TRegFormatHeap &heap)
 
static tcharRegFlags (long flags, TRegFormatHeap &heap)
 Registers the flag.
 
static tcharRegVerbOpt (int mf, int sf, TRegFormatHeap &heap)
 Registers the verb option.
 
static void OverflowCheck ()
 

Public Attributes

const charKey
 Non-localized parameter or registry subkey.
 
TLocaleString Value
 Localizable value for parameter or subkey.
 

Detailed Description

A single registration list entry.

TRegItem defines localizable values for parameters or subkeys. These values can be passed to TLocaleString, which defines a localizable substitute for char*. TRegItem contains several undocumented functions that are used privately by the registration macros REGFORMAT and REGSTATUS.

Definition at line 507 of file registry.h.

Member Function Documentation

◆ OverflowCheck()

static void owl::TRegItem::OverflowCheck ( )
static

◆ RegFlags()

TCHAR * owl::TRegItem::RegFlags ( long flags,
TRegFormatHeap & heap )
static

Registers the flag.

Definition at line 132 of file regheap.cpp.

References _stprintf, and _T.

◆ RegFormat() [1/3]

static tchar * owl::TRegItem::RegFormat ( const tstring & f,
int a,
int t,
int d,
TRegFormatHeap & heap )
inlinestatic

Definition at line 516 of file registry.h.

References RegFormat().

◆ RegFormat() [2/3]

TCHAR * owl::TRegItem::RegFormat ( int f,
int a,
int t,
int d,
TRegFormatHeap & heap )
static

Registers data formats for the object.

Definition at line 99 of file regheap.cpp.

References _stprintf, and _T.

◆ RegFormat() [3/3]

TCHAR * owl::TRegItem::RegFormat ( LPCTSTR f,
int a,
int t,
int d,
TRegFormatHeap & heap )
static

Registers data formats for the object.

Definition at line 116 of file regheap.cpp.

References _stprintf, _T, and owl::MaxFormatLen.

◆ RegVerbOpt()

TCHAR * owl::TRegItem::RegVerbOpt ( int mf,
int sf,
TRegFormatHeap & heap )
static

Registers the verb option.

Definition at line 148 of file regheap.cpp.

References _stprintf, and _T.

Member Data Documentation

◆ Key

const char* owl::TRegItem::Key

Non-localized parameter or registry subkey.

Definition at line 509 of file registry.h.

◆ Value

TLocaleString owl::TRegItem::Value

Localizable value for parameter or subkey.

Definition at line 510 of file registry.h.


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