ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ACE_Token_Name Class Reference

Allows Token_Manger to identify tokens. More...

#include <Local_Tokens.h>

Public Member Functions

 ACE_Token_Name (const ACE_TCHAR *token_name=0)
 Construction.
 
 ACE_Token_Name (const ACE_Token_Name &rhs)
 Copy construction.
 
virtual ~ACE_Token_Name ()
 Destructor.
 
void operator= (const ACE_Token_Name &rhs)
 Copy.
 
bool operator== (const ACE_Token_Name &rhs) const
 Comparison.
 
const ACE_TCHARname () const
 Get the token name.
 
void name (const ACE_TCHAR *new_name)
 Set the token name.
 
void dump () const
 Dump the state of the class.
 

Private Attributes

ACE_TCHAR token_name_ [ACE_MAXTOKENNAMELEN]
 Name of the token.
 

Detailed Description

Allows Token_Manger to identify tokens.

For now, this is just a string. We need a string class anyway to use in ACE_Map_Manager. Having this class (instead of <ACE_SString>) allows us to easily change if needed. For instance, we may choose to identify tokens by name and type in the future.

Constructor & Destructor Documentation

◆ ACE_Token_Name() [1/2]

ACE_Token_Name::ACE_Token_Name ( const ACE_TCHAR * token_name = 0)

Construction.

◆ ACE_Token_Name() [2/2]

ACE_Token_Name::ACE_Token_Name ( const ACE_Token_Name & rhs)

Copy construction.

◆ ~ACE_Token_Name()

ACE_Token_Name::~ACE_Token_Name ( )
virtual

Destructor.

Member Function Documentation

◆ dump()

void ACE_Token_Name::dump ( ) const

Dump the state of the class.

◆ name() [1/2]

const ACE_TCHAR * ACE_Token_Name::name ( ) const
inline

Get the token name.

◆ name() [2/2]

void ACE_Token_Name::name ( const ACE_TCHAR * new_name)
inline

Set the token name.

◆ operator=()

void ACE_Token_Name::operator= ( const ACE_Token_Name & rhs)
inline

Copy.

◆ operator==()

bool ACE_Token_Name::operator== ( const ACE_Token_Name & rhs) const
inline

Comparison.

Member Data Documentation

◆ token_name_

ACE_TCHAR ACE_Token_Name::token_name_[ACE_MAXTOKENNAMELEN]
private

Name of the token.


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