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

ACE_Registry::Binding Struct Reference

#include <Registry.h>

Collaboration diagram for ACE_Registry::Binding:

Collaboration graph
List of all members.

Public Methods

 Binding (void)
 Empty (default) constructor. More...

 Binding (const Name &binding_name, Binding_Type binding_type)
 Constructor (Name version). More...

 Binding (const ACE_TString &binding_name, Binding_Type binding_type)
 Constructor (String version). More...

int operator== (const Binding &rhs) const
int operator!= (const Binding &rhs) const
void name (Name &name)
 Name accessor (Name version). More...

void name (ACE_TString &name)
 Set Name (String version). More...

ACE_TString name (void)
 Get Name (String version). More...

Binding_Type type (void)
 Type accessor. More...

Private Attributes

ACE_TString name_
 A binding has a name. More...

Binding_Type type_
 .... and a type. More...

Constructor & Destructor Documentation

ACE_Registry::Binding::Binding void   

Empty (default) constructor.

Definition at line 43 of file Registry.cpp.

References ACE_Registry::INVALID.

00044   : name_ (),
00045     type_ (INVALID)
00046 {
00047 }

ACE_Registry::Binding::Binding const Name   binding_name,
Binding_Type    binding_type

Constructor (Name version).

Definition at line 52 of file Registry.cpp.

References ACE_Registry::Binding_Type, and ACE_Registry::make_string.

00054   : name_ (ACE_Registry::make_string (name)),
00055     type_ (type)
00056 {
00057 }

ACE_Registry::Binding::Binding const ACE_TString   binding_name,
Binding_Type    binding_type

Constructor (String version).

Definition at line 62 of file Registry.cpp.

References ACE_Registry::Binding_Type.

00064   : name_ (name),
00065     type_ (type)
00066 {
00067 }

Member Function Documentation

ACE_TString ACE_Registry::Binding::name void   

Get Name (String version).

Definition at line 105 of file Registry.cpp.

References name_.

00106 {
00107   return this->name_;
00108 }

void ACE_Registry::Binding::name ACE_TString   name

Set Name (String version).

Definition at line 96 of file Registry.cpp.

References name_.

00097 {
00098   name = this->name_;
00099 }

void ACE_Registry::Binding::name Name   name

Name accessor (Name version).

Definition at line 87 of file Registry.cpp.

References ACE_Registry::make_name.

Referenced by ACE_Registry_Name_Space::list_name_entries.

00088 {
00089   name = ACE_Registry::make_name (this->name_);
00090 }

int ACE_Registry::Binding::operator!= const Binding &    rhs const

Definition at line 79 of file Registry.cpp.

References operator==.

00080 {
00081   return !this->operator== (rhs);
00082 }

int ACE_Registry::Binding::operator== const Binding &    rhs const

Definition at line 71 of file Registry.cpp.

References name_, and type_.

Referenced by operator!=.

00072 {
00073   return
00074     rhs.name_ == this->name_ &&
00075     rhs.type_ == this->type_;
00076 }

ACE_Registry::Binding_Type ACE_Registry::Binding::type void   

Type accessor.

Definition at line 113 of file Registry.cpp.

References type_.

Referenced by ACE_Registry_Name_Space::list_name_entries.

00114 {
00115   return this->type_;
00116 }

Member Data Documentation

ACE_TString ACE_Registry::Binding::name_ [private]

A binding has a name.

Definition at line 108 of file Registry.h.

Referenced by name, and operator==.

Binding_Type ACE_Registry::Binding::type_ [private]

.... and a type.

Definition at line 111 of file Registry.h.

Referenced by operator==, and type.

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