#include <Name_Space.h>
Collaboration diagram for ACE_Name_Binding:

Public Methods | |
| ACE_Name_Binding (const ACE_NS_WString &n, const ACE_NS_WString &v, const char *t) | |
| Main constructor that initializes all the fields. More... | |
| ACE_Name_Binding (void) | |
| Default constructor. More... | |
| ACE_Name_Binding (const ACE_Name_Binding &) | |
| Copy constructor. More... | |
| void | operator= (const ACE_Name_Binding &) |
| Assignment operator. More... | |
| ~ACE_Name_Binding (void) | |
| Destructor. More... | |
| int | operator== (const ACE_Name_Binding &s) const |
| Test for equality. More... | |
Public Attributes | |
| ACE_NS_WString | name_ |
| Name of the binding. More... | |
| ACE_NS_WString | value_ |
| Value of the binding. More... | |
| char * | type_ |
| Type of the binding. More... | |
Definition at line 35 of file Name_Space.h.
|
||||||||||||||||
|
Main constructor that initializes all the fields.
Definition at line 22 of file Name_Space.cpp. References ACE_TRACE.
|
|
|
Default constructor.
Definition at line 9 of file Name_Space.cpp. References ACE_TRACE.
00010 : type_ (ACE_OS::strdup ("")) 00011 { 00012 ACE_TRACE ("ACE_Name_Binding::ACE_Name_Binding"); 00013 } |
|
|
Copy constructor.
Definition at line 32 of file Name_Space.cpp. References ACE_TRACE.
|
|
|
Destructor.
Definition at line 16 of file Name_Space.cpp. References ACE_TRACE, and ACE_OS_Memory::free.
00017 {
00018 ACE_TRACE ("ACE_Name_Binding::~ACE_Name_Binding");
00019 ACE_OS::free ((void *) this->type_);
00020 }
|
|
|
Assignment operator.
Definition at line 41 of file Name_Space.cpp. References ACE_TRACE, ACE_OS_Memory::free, name_, ACE_OS_String::strdup, type_, and value_.
00042 {
00043 ACE_TRACE ("ACE_Name_Binding::operator =");
00044
00045 if (this != &s)
00046 {
00047 ACE_OS::free ((void *) this->type_);
00048 this->name_ = s.name_;
00049 this->value_ = s.value_;
00050 this->type_ = ACE_OS::strdup (s.type_);
00051 }
00052 }
|
|
|
Test for equality.
Definition at line 55 of file Name_Space.cpp. References ACE_TRACE, name_, ACE_OS_String::strcmp, type_, and value_.
|
|
|
Name of the binding.
Definition at line 60 of file Name_Space.h. Referenced by ACE_Registry_Name_Space::list_names, operator=, and operator==. |
|
|
Type of the binding.
Definition at line 66 of file Name_Space.h. Referenced by operator=, and operator==. |
|
|
Value of the binding.
Definition at line 63 of file Name_Space.h. Referenced by ACE_Registry_Name_Space::list_values, operator=, and operator==. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002