summaryrefslogtreecommitdiff
path: root/ace/Name_Space.h
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-05 06:42:04 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-05 06:42:04 +0000
commit24db8b068ea6b5028c47995e55a8e5c4bdd09505 (patch)
tree0261a761e379f74e7ab2521712877290f874df37 /ace/Name_Space.h
parent7ffa52906f3efa7b636ae5c057f638d1485bd409 (diff)
downloadATCD-24db8b068ea6b5028c47995e55a8e5c4bdd09505.tar.gz
Corrected erroneous comments.
Diffstat (limited to 'ace/Name_Space.h')
-rw-r--r--ace/Name_Space.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/ace/Name_Space.h b/ace/Name_Space.h
index 0aecbad5248..2328b4d3c41 100644
--- a/ace/Name_Space.h
+++ b/ace/Name_Space.h
@@ -7,13 +7,13 @@
//
// = LIBRARY
// ACE
-//
+//
// = FILENAME
-// ACE_Name_Space
+// Name_Space.h
//
// = AUTHOR
// Prashant Jain
-//
+//
// ============================================================================
#if !defined (ACE_NAME_SPACE_H)
@@ -35,7 +35,7 @@ public:
const char *t);
// Main constructor that initializes all the fields.
- ACE_Name_Binding (void);
+ ACE_Name_Binding (void);
// Default constructor.
ACE_Name_Binding (const ACE_Name_Binding &);
@@ -52,7 +52,7 @@ public:
ACE_WString name_;
// Name of the binding.
-
+
ACE_WString value_;
// Value of the binding.
@@ -79,16 +79,16 @@ public:
virtual ~ACE_Name_Space (void);
// virtual destructor to ensure destructors of subclasses get
- // called.
-
- virtual int bind (const ACE_WString &name_in,
- const ACE_WString &value_in,
+ // called.
+
+ virtual int bind (const ACE_WString &name_in,
+ const ACE_WString &value_in,
const char *type_in = "") = 0;
// Bind a new name to a naming context (Wide character strings).
- virtual int rebind (const ACE_WString &name_in,
- const ACE_WString &value_in,
+ virtual int rebind (const ACE_WString &name_in,
+ const ACE_WString &value_in,
const char *type_in = "") = 0;
// 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
@@ -98,40 +98,40 @@ public:
// Delete a name from a ACE_Name_Space (Wide charcter strings
// Interface).
- virtual int resolve (const ACE_WString &name_in,
- ACE_WString &value_out,
+ virtual int resolve (const ACE_WString &name_in,
+ ACE_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>!
-
- virtual int list_names (ACE_WSTRING_SET &set_out,
+
+ virtual int list_names (ACE_WSTRING_SET &set_out,
const ACE_WString &pattern_in) = 0;
// 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_out,
+ virtual int list_values (ACE_WSTRING_SET &set_out,
const ACE_WString &pattern_in) = 0;
// 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_out,
+ virtual int list_types (ACE_WSTRING_SET &set_out,
const ACE_WString &pattern_in) = 0;
// 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) = 0;
// 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) = 0;
// 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) = 0;
// Get a set of types matching a specified pattern (wchars). Matching
// means the types must begin with the pattern string. Returns the
@@ -142,4 +142,3 @@ public:
};
#endif /* ACE_NAME_SPACE_H */
-