OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
registry.h File Reference

General Registry access & registration implementation TRegKey, TRegValue, TRegKeyIterator, TRegValueIterator TXRegistry TRegItem, TRegList, TRegLink - associative array of localizable string parameters OC registry functions. More...

#include <owl/private/defs.h>
#include <owl/private/checks.h>
#include <owl/except.h>
#include <owl/wsysinc.h>
#include <owl/lclstrng.h>
#include <owl/private/memory.h>
#include <owl/private/strmdefs.h>
#include <vector>
#include <optional>
#include <type_traits>
#include <cstddef>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

class  owl::TRegValue
 Encapsulates a value-data entry within one registration key. More...
 
class  owl::TRegKey
 Encapsulates a registration key in the Windows Registry. More...
 
class  owl::TRegKey::TSecurityDescriptor
 Encapsulates a SECURITY_DESCRIPTOR. More...
 
struct  owl::TRegKey::TInfo
 Data structure returned by QueryInfo. More...
 
class  owl::TRegKeyIterator
 Iterator for walking thru the subkeys of a key. More...
 
class  owl::TRegValueIterator
 Iterator for walking through the values of a key. More...
 
class  owl::TXRegistry
 Thrown for errors within the Registry classes. More...
 
class  owl::TRegFormatHeap
 Used internally to provide buffers for formating registration strings. More...
 
struct  owl::TRegItem
 A single registration list entry. More...
 
class  owl::TRegList
 A registration parameter table, composed of a list of TRegItems. More...
 
class  owl::TRegLink
 A linked structure in which each node points to a list of TRegList objects (or TRegList-derived objects) or TDocTemplate objects. More...
 
class  owl::TRegTemplateList
 List of parameterized template strings that represent the actual entries to be registered. More...
 
class  owl::TRegParamList
 A list of param entries for use as an intermediate between a TRegList and the actual template list used to generate the registration. More...
 
struct  owl::TRegParamList::TEntry
 
class  owl::TRegSymbolTable
 High level symbol-based registry entry manipulation. More...
 
class  owl::TRegistry
 TRegistry provides high level stream and list access to the registry. More...
 
struct  owl::TRegistry::TUnregParams
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define BEGIN_REGISTRATION(regname)
 
#define END_REGISTRATION   {0,{0}} };
 
#define REGDATA(var, val)   {#var, {val}},
 
#define REGXLAT(var, val)   {#var, {AUTOLANG_XLAT val}},
 
#define REGITEM(key, val)   {" " key, {val}},
 
#define REGFORMAT(i, f, a, t, d)   {"format" #i,{TRegItem::RegFormat(f,a,t,d,__regHeap)}},
 
#define REGSTATUS(a, f)   {"aspect" #a, {TRegItem::RegFlags(f,__regHeap)}},
 
#define REGVERBOPT(v, mf, sf)   {#v "opt",{TRegItem::RegVerbOpt(mf,sf,__regHeap)}},
 
#define REGICON(i)   {"iconindex",{TRegItem::RegFlags(i,__regHeap)}},
 
#define REGDOCFLAGS(i)   {"docflags",{TRegItem::RegFlags(i,__regHeap)}},
 
#define REGISTRATION_FORMAT_BUFFER(n)    TRegFormatHeap __regHeap;
 
#define REGISTRATION_FORMAT_HEAP    TRegFormatHeap __regHeap;
 
#define ocrRichText   _T("Rich Text Format")
 
#define ocrEmbedSource   _T("Embed Source")
 
#define ocrEmbeddedObject   _T("Embedded Object")
 
#define ocrLinkSource   _T("Link Source")
 
#define ocrObjectDescriptor   _T("Object Descriptor")
 
#define ocrLinkSrcDescriptor   _T("Link Source Descriptor")
 
#define ocrSingleUse   _T("1")
 Single client per instance.
 
#define ocrMultipleUse   _T("2")
 Multiple clients per instance.
 
#define ocrMultipleLocal   _T("3")
 Multiple clients, separate inproc server.
 

Enumerations

enum  owl::ocrClipFormat {
  owl::ocrText = 1 , owl::ocrBitmap = 2 , owl::ocrMetafilePict = 3 , owl::ocrSylk = 4 , owl::ocrDif = 5 , owl::ocrTiff = 6 , owl::ocrOemText = 7 , owl::ocrDib = 8 , owl::ocrPalette = 9 , owl::ocrPenData = 10 ,
  owl::ocrRiff = 11 , owl::ocrWave = 12 , owl::ocrUnicodeText = 13 , owl::ocrEnhMetafile = 14
}
 Format: standard clipboard numeric format, or name of custom format. More...
 
enum  owl::ocrAspect { owl::ocrContent = 1 , owl::ocrThumbnail = 2 , owl::ocrIcon = 4 , owl::ocrDocPrint = 8 }
 Aspect: view types supported by transfer. More...
 
enum  owl::ocrMedium { owl::ocrNull = 0 , owl::ocrHGlobal = 1 , owl::ocrFile = 2 , owl::ocrIStream = 4 , owl::ocrIStorage = 8 , owl::ocrGDI = 16 , owl::ocrMfPict = 32 , owl::ocrStaticMed = 1024 }
 Medium: means of data transfer. More...
 
enum  owl::ocrDirection { owl::ocrGet = 1 , owl::ocrSet = 2 , owl::ocrGetSet = 3 }
 Direction: transfer directions supported. More...
 
enum  owl::ocrObjectStatus {
  owl::ocrRecomposeOnResize = 1 , owl::ocrOnlyIconic = 2 , owl::ocrInsertNotReplace = 4 , owl::ocrStatic = 8 , owl::ocrCantLinkInside = 16 , owl::ocrCanLinkByOle1 = 32 , owl::ocrIsLinkObject = 64 , owl::ocrInsideOut = 128 , owl::ocrActivateWhenVisible = 256 , owl::ocrRenderingIsDeviceIndependent = 512 ,
  owl::ocrNoSpecialRendering = 512
}
 IOleObject miscellaneous status flags, defined for each or all aspects. More...
 
enum  owl::ocrVerbMenuFlags { owl::ocrGrayed = 1 , owl::ocrDisabled = 2 , owl::ocrChecked = 8 , owl::ocrMenuBarBreak = 32 , owl::ocrMenuBreak = 64 }
 IOleObject verb menu flags. More...
 
enum  owl::ocrVerbAttributes { owl::ocrNeverDirties = 1 , owl::ocrOnContainerMenu = 2 }
 IOleObject verb attribute flags. More...
 

Variables

const int owl::ocrVerbLimit = 8
 Maximum number of verbs registered per class.
 
const int owl::ocrFormatLimit = 8
 Maximum number of data formats per class.
 

Detailed Description

General Registry access & registration implementation TRegKey, TRegValue, TRegKeyIterator, TRegValueIterator TXRegistry TRegItem, TRegList, TRegLink - associative array of localizable string parameters OC registry functions.

Definition in file registry.h.