## NAME

ACE_Token_Name - Allows Token_Manger to identify tokens.

## SYNOPSIS

    #include <ace/Local_Tokens.h>

    class ACE_Token_Name
    {
      public:
        ACE_Token_Name (const ASYS_TCHAR *token_name = 0);
        ACE_Token_Name (const ACE_Token_Name &rhs);
        virtual ~ACE_Token_Name (void);
        void operator= (const ACE_Token_Name &rhs);
        int operator== (const ACE_Token_Name &rhs) const;
        const ASYS_TCHAR *name (void) const;
        void name (const ASYS_TCHAR *new_name);
        void dump (void) const;
      private:
        ASYS_TCHAR token_name_[ACE_MAXTOKENNAMELEN];
    };

## DESCRIPTION

This file contains definitions for the following classes:

public: 7. ACE_Token_Proxy 8. ACE_Null_Token : public ACE_Token_Proxy 9. ACE_Local_Mutex : public ACE_Token_Proxy *. ACE_Local_RLock : public ACE_Local_Mutex &. ACE_Local_WLock : public ACE_Local_Mutex private: 1. ACE_TOKEN_CONST 3. ACE_TPQ_Entry b. ACE_TSS_TPQ_Entry c. ACE_TPQ_Iterator 4. ACE_Token_Proxy_Queue 5. ACE_Tokens 6. ACE_Mutex_Token : public ACE_Tokens 12. ACE_RW_Token : public ACE_Tokens a. ACE_Token_Name

## PUBLIC MEMBERS

    ACE_Token_Name (const ASYS_TCHAR *token_name = 0);

Construction.

    ACE_Token_Name (const ACE_Token_Name &rhs);

Copy construction.

    virtual ~ACE_Token_Name (void);

Death.

    void operator= (const ACE_Token_Name &rhs);

Copy.

    int operator== (const ACE_Token_Name &rhs) const;

Comparison.

    const ASYS_TCHAR *name (void) const;

Token name.

    void name (const ASYS_TCHAR *new_name);

Token name.

    void dump (void) const;

Dump the state of the class.

## PRIVATE MEMBERS

    ASYS_TCHAR token_name_[ACE_MAXTOKENNAMELEN];

Name of the token.

## AUTHOR

Karl-Heinz Dorn (kdorn@erlh.siemens.de) Douglas C. Schmidt (schmidt@cs.wustl.edu) Tim Harrison (harrison@cs.wustl.edu)

## LIBRARY

ace