Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Name_Space Class Reference

Abstract base class that provides an abstract interface to the database without exposing any implemenation details. More...

#include <Name_Space.h>

Inheritance diagram for ACE_Name_Space:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~ACE_Name_Space (void)
 virtual destructor to ensure destructors of subclasses get called. More...

virtual int bind (const ACE_NS_WString &name_in, const ACE_NS_WString &value_in, const char *type_in="")=0
 Bind a new name to a naming context (Wide character strings). More...

virtual int rebind (const ACE_NS_WString &name_in, const ACE_NS_WString &value_in, const char *type_in="")=0
virtual int unbind (const ACE_NS_WString &name_in)=0
 Delete a name from a ACE_Name_Space (Wide charcter strings Interface). More...

virtual int resolve (const ACE_NS_WString &name_in, ACE_NS_WString &value_out, char *&type_out)=0
 Get value and type of a given name binding (Wide chars). The caller is responsible for deleting both <value_out> and <type_out>! More...

virtual int list_names (ACE_WSTRING_SET &set_out, const ACE_NS_WString &pattern_in)=0
 Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string. More...

virtual int list_values (ACE_WSTRING_SET &set_out, const ACE_NS_WString &pattern_in)=0
 Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string. More...

virtual int list_types (ACE_WSTRING_SET &set_out, const ACE_NS_WString &pattern_in)=0
 Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string. More...

virtual int list_name_entries (ACE_BINDING_SET &set, const ACE_NS_WString &pattern)=0
virtual int list_value_entries (ACE_BINDING_SET &set, const ACE_NS_WString &pattern)=0
virtual int list_type_entries (ACE_BINDING_SET &set, const ACE_NS_WString &pattern)=0
virtual void dump (void) const=0
 Dump the state of the object. More...


Detailed Description

Abstract base class that provides an abstract interface to the database without exposing any implemenation details.

Manages a Naming Service Name Space. Provides the basic methods -- bind, unbind, rebind, find, and listnames.

Definition at line 84 of file Name_Space.h.


Constructor & Destructor Documentation

ACE_Name_Space::~ACE_Name_Space void    [virtual]
 

virtual destructor to ensure destructors of subclasses get called.

Definition at line 63 of file Name_Space.cpp.

References ACE_TRACE.

00064 {
00065   ACE_TRACE ("ACE_Name_Space::~ACE_Name_Space");
00066 }


Member Function Documentation

virtual int ACE_Name_Space::bind const ACE_NS_WString   name_in,
const ACE_NS_WString   value_in,
const char *    type_in = ""
[pure virtual]
 

Bind a new name to a naming context (Wide character strings).

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::bind.

virtual void ACE_Name_Space::dump void    const [pure virtual]
 

Dump the state of the object.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::dump.

virtual int ACE_Name_Space::list_name_entries ACE_BINDING_SET   set,
const ACE_NS_WString   pattern
[pure virtual]
 

Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string. Returns the complete binding associated each pattern match.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::list_name_entries.

virtual int ACE_Name_Space::list_names ACE_WSTRING_SET   set_out,
const ACE_NS_WString   pattern_in
[pure virtual]
 

Get a set of names matching a specified pattern (wchars). Matching means the names must begin with the pattern string.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::list_names.

virtual int ACE_Name_Space::list_type_entries ACE_BINDING_SET   set,
const ACE_NS_WString   pattern
[pure virtual]
 

Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string. Returns the complete binding associated each pattern match.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::list_type_entries.

virtual int ACE_Name_Space::list_types ACE_WSTRING_SET   set_out,
const ACE_NS_WString   pattern_in
[pure virtual]
 

Get a set of types matching a specified pattern (wchars). Matching means the types must begin with the pattern string.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::list_types.

virtual int ACE_Name_Space::list_value_entries ACE_BINDING_SET   set,
const ACE_NS_WString   pattern
[pure virtual]
 

Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string. Returns the complete binding associated each pattern match.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::list_value_entries.

virtual int ACE_Name_Space::list_values ACE_WSTRING_SET   set_out,
const ACE_NS_WString   pattern_in
[pure virtual]
 

Get a set of values matching a specified pattern (wchars). Matching means the values must begin with the pattern string.

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::list_values.

virtual int ACE_Name_Space::rebind const ACE_NS_WString   name_in,
const ACE_NS_WString   value_in,
const char *    type_in = ""
[pure virtual]
 

Overwrite the value or type of an existing name in a ACE_Name_Space or bind a new name to the context, if it didn't exist yet. (Wide charcter strings interface).

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::rebind.

virtual int ACE_Name_Space::resolve const ACE_NS_WString   name_in,
ACE_NS_WString   value_out,
char *&    type_out
[pure virtual]
 

Get value and type of a given name binding (Wide chars). The caller is responsible for deleting both <value_out> and <type_out>!

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::resolve.

virtual int ACE_Name_Space::unbind const ACE_NS_WString   name_in [pure virtual]
 

Delete a name from a ACE_Name_Space (Wide charcter strings Interface).

Implemented in ACE_Local_Name_Space.

Referenced by ACE_Naming_Context::unbind.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:50:54 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002