TAO_CosNaming  2.0.8
Public Member Functions | Public Attributes
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]

List of all members.

Public Member Functions

 TAO_ExtId (void)
 Constructor.
 TAO_ExtId (const char *id, const char *kind)
 Constructor.
 TAO_ExtId (const TAO_ExtId &rhs)
 Copy constructor.
 ~TAO_ExtId (void)
 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 (void) const
const char * id (void)
 Return <id_> in a const char * format.
const char * kind (void)
 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::TAO_ExtId ( void  )

Constructor.

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

Constructor.

TAO_ExtId::TAO_ExtId ( const TAO_ExtId rhs)

Copy constructor.

TAO_ExtId::~TAO_ExtId ( void  )

Destructor.


Member Function Documentation

u_long TAO_ExtId::hash ( void  ) const

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

const char * TAO_ExtId::id ( void  )

Return <id_> in a const char * format.

const char * TAO_ExtId::kind ( void  )

Return <kind_> in a const char * format.

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

Inequality comparison operator.

void TAO_ExtId::operator= ( const TAO_ExtId rhs)

Assignment operator (does copy memory).

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

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


Member Data Documentation

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

<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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines