ACE
6.3.3
|
Allows Token_Manger to identify tokens. More...
#include <Local_Tokens.h>
Public Member Functions | |
ACE_Token_Name (const ACE_TCHAR *token_name=0) | |
Construction. More... | |
ACE_Token_Name (const ACE_Token_Name &rhs) | |
Copy construction. More... | |
virtual | ~ACE_Token_Name (void) |
Destructor. More... | |
void | operator= (const ACE_Token_Name &rhs) |
Copy. More... | |
bool | operator== (const ACE_Token_Name &rhs) const |
Comparison. More... | |
const ACE_TCHAR * | name (void) const |
Get the token name. More... | |
void | name (const ACE_TCHAR *new_name) |
Set the token name. More... | |
void | dump (void) const |
Dump the state of the class. More... | |
Private Attributes | |
ACE_TCHAR | token_name_ [ACE_MAXTOKENNAMELEN] |
Name of the token. More... | |
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.
ACE_Token_Name::ACE_Token_Name | ( | const ACE_TCHAR * | token_name = 0 | ) |
Construction.
ACE_Token_Name::ACE_Token_Name | ( | const ACE_Token_Name & | rhs | ) |
Copy construction.
|
virtual |
Destructor.
void ACE_Token_Name::dump | ( | void | ) | const |
Dump the state of the class.
|
inline |
Get the token name.
|
inline |
Set the token name.
|
inline |
Copy.
|
inline |
Comparison.
|
private |
Name of the token.