diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-05 06:42:04 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-05 06:42:04 +0000 |
commit | 24db8b068ea6b5028c47995e55a8e5c4bdd09505 (patch) | |
tree | 0261a761e379f74e7ab2521712877290f874df37 /ace/Local_Name_Space_T.h | |
parent | 7ffa52906f3efa7b636ae5c057f638d1485bd409 (diff) | |
download | ATCD-24db8b068ea6b5028c47995e55a8e5c4bdd09505.tar.gz |
Corrected erroneous comments.
Diffstat (limited to 'ace/Local_Name_Space_T.h')
-rw-r--r-- | ace/Local_Name_Space_T.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/ace/Local_Name_Space_T.h b/ace/Local_Name_Space_T.h index 186b6f6ede3..fccd5f8bd5d 100644 --- a/ace/Local_Name_Space_T.h +++ b/ace/Local_Name_Space_T.h @@ -5,15 +5,15 @@ // // = LIBRARY // ACE -// +// // = FILENAME -// ACE_Local_Name_Space_T.h +// Local_Name_Space_T.h // // = AUTHOR // Prashant Jain (pjain@cs.wustl.edu), Irfan Pyarali // (irfan@wuerl.wustl.edu), and Douglas C. Schmidt -// (schmidt@cs.wustl.edu). -// +// (schmidt@cs.wustl.edu). +// // ============================================================================ #if !defined (ACE_LOCAL_NAME_SPACE_T_H) @@ -64,26 +64,26 @@ public: // provided by <ACE_Hash_Map_Manager>. When they are called, they // acquire the lock, set the allocator to the one specific to this // process, and then call down to perform the intended operation. - int bind (const ACE_NS_String &, + int bind (const ACE_NS_String &, const ACE_NS_Internal &, ALLOCATOR *alloc); - int unbind (const ACE_NS_String &, + int unbind (const ACE_NS_String &, ACE_NS_Internal &, ALLOCATOR *alloc); - int rebind (const ACE_NS_String &, + int rebind (const ACE_NS_String &, const ACE_NS_Internal &, - ACE_NS_String &, + ACE_NS_String &, ACE_NS_Internal &, ALLOCATOR *alloc); - int find (const ACE_NS_String &, + int find (const ACE_NS_String &, ACE_NS_Internal &, ALLOCATOR *alloc); int close (ALLOCATOR *alloc); - + private: }; @@ -98,7 +98,7 @@ class ACE_Local_Name_Space : public ACE_Name_Space // Manages a Naming Service for a local name space which includes // bindings for node_local and host_local naming contexts. // All strings are stored in wide character format. - // A Name Binding consists of a name (that's the key), a value + // A Name Binding consists of a name (that's the key), a value // string and an optional type string (no wide chars). { public: @@ -125,68 +125,68 @@ public: const ACE_WString &value, const char *type = ""); // Bind a new name to a naming context (Wide character strings). - - virtual int rebind (const ACE_WString &name, + + virtual int rebind (const ACE_WString &name, const ACE_WString &value, const char *type = ""); // Overwrite the value or type of an existing name in a // ACE_Local_Name_Space or bind a new name to the context, if it // didn't exist yet. (Wide charcter strings interface). - + virtual int unbind (const ACE_WString &name); virtual int unbind_i (const ACE_WString &name); // Delete a name from a ACE_Local_Name_Space (Wide charcter strings // Interface). - - virtual int resolve (const ACE_WString &name, - ACE_WString &value, + + virtual int resolve (const ACE_WString &name, + ACE_WString &value, char *&type); - virtual int resolve_i (const ACE_WString &name, - ACE_WString &value, + virtual int resolve_i (const ACE_WString &name, + ACE_WString &value, char *&type); // Get value and type of a given name binding (Wide chars). The // caller is responsible for deleting <type>! - - virtual int list_names (ACE_WSTRING_SET &set, + + virtual int list_names (ACE_WSTRING_SET &set, const ACE_WString &pattern); - virtual int list_names_i (ACE_WSTRING_SET &set, + virtual int list_names_i (ACE_WSTRING_SET &set, const ACE_WString &pattern); // Get a set of names matching a specified pattern (wchars). Matching // means the names must begin with the pattern string. - virtual int list_values (ACE_WSTRING_SET &set, + virtual int list_values (ACE_WSTRING_SET &set, const ACE_WString &pattern); - virtual int list_values_i (ACE_WSTRING_SET &set, + virtual int list_values_i (ACE_WSTRING_SET &set, const ACE_WString &pattern); // Get a set of values matching a specified pattern (wchars). Matching // means the values must begin with the pattern string. - virtual int list_types (ACE_WSTRING_SET &set, + virtual int list_types (ACE_WSTRING_SET &set, const ACE_WString &pattern); - virtual int list_types_i (ACE_WSTRING_SET &set, + virtual int list_types_i (ACE_WSTRING_SET &set, const ACE_WString &pattern); // Get a set of types matching a specified pattern (wchars). Matching // means the types must begin with the pattern string. - virtual int list_name_entries (ACE_BINDING_SET &set, + virtual int list_name_entries (ACE_BINDING_SET &set, const ACE_WString &pattern); - virtual int list_name_entries_i (ACE_BINDING_SET &set, + virtual int list_name_entries_i (ACE_BINDING_SET &set, const ACE_WString &pattern); // 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. - virtual int list_value_entries (ACE_BINDING_SET &set, + virtual int list_value_entries (ACE_BINDING_SET &set, const ACE_WString &pattern); - virtual int list_value_entries_i (ACE_BINDING_SET &set, + virtual int list_value_entries_i (ACE_BINDING_SET &set, const ACE_WString &pattern); // 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. - virtual int list_type_entries (ACE_BINDING_SET &set, + virtual int list_type_entries (ACE_BINDING_SET &set, const ACE_WString &pattern); - virtual int list_type_entries_i (ACE_BINDING_SET &set, + virtual int list_type_entries_i (ACE_BINDING_SET &set, const ACE_WString &pattern); // Get a set of types matching a specified pattern (wchars). Matching // means the types must begin with the pattern string. Returns the |