TAO_CosNaming 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TAO_ExtId Class Reference

Helper class for TAO_Transient_Bindings_Map: unifies several data items, so they can be stored together as a <key> for a in a hash table holding the state of a Transient Naming Context. More...

#include <Entries.h>

Collaboration diagram for TAO_ExtId:
Collaboration graph
[legend]

Public Member Functions

 TAO_ExtId ()
 Constructor.
 
 TAO_ExtId (const char *id, const char *kind)
 Constructor.
 
 TAO_ExtId (const TAO_ExtId &rhs)
 Copy constructor.
 
 ~TAO_ExtId ()
 Destructor.
 
void operator= (const TAO_ExtId &rhs)
 Assignment operator (does copy memory).
 
bool operator== (const TAO_ExtId &rhs) const
 Equality comparison operator (must match both id_ and kind_).
 
bool operator!= (const TAO_ExtId &rhs) const
 Inequality comparison operator.
 
u_long hash () const
 
const char * id ()
 Return id_ in a const char * format.
 
const char * kind ()
 Return kind_ in a const char * format.
 

Public Attributes

ACE_CString kind_
 
ACE_CString id_
 

Detailed Description

Helper class for TAO_Transient_Bindings_Map: unifies several data items, so they can be stored together as a <key> for a

in a hash table holding the state of a Transient Naming Context.

This class holds id and kind strings, so they can be stored together as a <key> for a

in a hash table holding the state of a Transient Naming Context.

Constructor & Destructor Documentation

◆ TAO_ExtId() [1/3]

TAO_ExtId::TAO_ExtId ( )

Constructor.

◆ TAO_ExtId() [2/3]

TAO_ExtId::TAO_ExtId ( const char * id,
const char * kind )

Constructor.

◆ TAO_ExtId() [3/3]

TAO_ExtId::TAO_ExtId ( const TAO_ExtId & rhs)

Copy constructor.

◆ ~TAO_ExtId()

TAO_ExtId::~TAO_ExtId ( )

Destructor.

Member Function Documentation

◆ hash()

u_long TAO_ExtId::hash ( ) const

<hash> function is required in order for this class to be usable by ACE_Hash_Map_Manager.

◆ id()

const char * TAO_ExtId::id ( )

Return id_ in a const char * format.

◆ kind()

const char * TAO_ExtId::kind ( )

Return kind_ in a const char * format.

◆ operator!=()

bool TAO_ExtId::operator!= ( const TAO_ExtId & rhs) const

Inequality comparison operator.

◆ operator=()

void TAO_ExtId::operator= ( const TAO_ExtId & rhs)

Assignment operator (does copy memory).

◆ operator==()

bool TAO_ExtId::operator== ( const TAO_ExtId & rhs) const

Equality comparison operator (must match both id_ and kind_).

Member Data Documentation

◆ id_

ACE_CString TAO_ExtId::id_

<id> portion of the name to be associated with some object reference in a Transient Naming Context.

◆ kind_

ACE_CString TAO_ExtId::kind_

<kind> portion of the name to be associated with some object reference in a Transient Naming Context.


The documentation for this class was generated from the following files: