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

Helper class for TAO_Persistent_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 Persistent Naming Context. More...

#include <Persistent_Entries.h>

Public Member Functions

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

Public Attributes

const char * id_
 
const char * kind_
 

Detailed Description

Helper class for TAO_Persistent_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 Persistent 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 Persistent Naming Context. Memory for id and kind isn't allocated/deallocated, this class just copies pointers.

Constructor & Destructor Documentation

◆ TAO_Persistent_ExtId() [1/3]

TAO_Persistent_ExtId::TAO_Persistent_ExtId ( )

Constructor.

◆ TAO_Persistent_ExtId() [2/3]

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

Constructor.

◆ TAO_Persistent_ExtId() [3/3]

TAO_Persistent_ExtId::TAO_Persistent_ExtId ( const TAO_Persistent_ExtId & rhs)

Copy constructor.

◆ ~TAO_Persistent_ExtId()

TAO_Persistent_ExtId::~TAO_Persistent_ExtId ( )

Destructor.

Member Function Documentation

◆ hash()

u_long TAO_Persistent_ExtId::hash ( ) const

hash() function is required in order for this class to be usable by ACE_Hash_Map_Manager.

◆ id()

const char * TAO_Persistent_ExtId::id ( )

◆ kind()

const char * TAO_Persistent_ExtId::kind ( )

◆ operator!=()

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

Inequality comparison operator.

◆ operator=()

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

Assignment operator (does copy memory).

◆ operator==()

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

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

Member Data Documentation

◆ id_

const char* TAO_Persistent_ExtId::id_

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

◆ kind_

const char* TAO_Persistent_ExtId::kind_

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


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