---
name: "ACE_Registry"
section: "3"
platform: "linux"
package: "libace-doc"
version: "5.0.7-4"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/ACE_Registry"
---

# ACE\_Registry(3)

A Name Server implementation

## NAME

ACE\_Registry -  A Name Server implementation

## SYNOPSIS

```
#include <ace/Registry.h>
class ACE_Registry
{
  public:
    typedef ACE_WString Istring;
    typedef ACE_CString Istring;
    struct ACE_Export Name_Component
    {
      public:
        Istring id_;
        Istring kind_;
        int operator== (const Name_Component &rhs) const;
        int operator!= (const Name_Component &rhs) const;
    };
```

    typedef ACE\_Unbounded\_Set\<Name\_Component\> Name;     static LPCTSTR STRING\_SEPARATOR;     static Istring make\_string (const Name &name);     static Name make\_name (const Istring &string);     enum Binding\_Type {INVALID, OBJECT, CONTEXT};     typedef ACE\_Unbounded\_Set\<Binding\> Binding\_List; };

## DESCRIPTION

The registry interface is inspired by the interface specified in the CORBA Naming Service Specification. The implementation is done through Win32 Reg\* functions. Other than providing an OO wrapper for the Win32 Reg\* functions, ACE\_Registry provides an abstraction for iteration over the elements of the Registry.

## PUBLIC MEMBERS

```
typedef ACE_WString Istring;
```

```
typedef ACE_CString Istring;
```

```
typedef ACE_Unbounded_Set<Name_Component> Name;
```

```
static LPCTSTR STRING_SEPARATOR;
```

Separator for components in a name

```
static Istring make_string (const Name &name);
```

Convert a name to a string

```
static Name make_name (const Istring &string);
```

Convert a string to a name

```
typedef ACE_Unbounded_Set<Binding> Binding_List;
```

## AUTHOR

Irfan Pyarali (irfan@cs.wustl.edu)

## LIBRARY

ace
