ACE_TSS_TPQ_Entry Class Reference

ACE_TSS_TPQ_Entry. More...

#include <Local_Tokens.h>

Inheritance diagram for ACE_TSS_TPQ_Entry:

Inheritance graph
[legend]
Collaboration diagram for ACE_TSS_TPQ_Entry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_TSS_TPQ_Entry (const ACE_Token_Proxy *proxy, const ACE_TCHAR *client_id)
virtual ~ACE_TSS_TPQ_Entry (void)
 Destructor.

virtual ACE_TPQ_Entrymake_TSS_TYPE (void) const
 Allows us to pass args to the construction of the TSS object.

 operator ACE_TPQ_Entry * (void)
 Operator overloading and inheritence don't mix.

void dump (void) const
 Dump the state of the class.

ACE_TPQ_Entryoperator-> (void)

Private Member Functions

 ACE_TSS_TPQ_Entry (const ACE_TSS_TPQ_Entry &)
 Private: should not be used.

void operator= (const ACE_TSS_TPQ_Entry &)

Private Attributes

const ACE_Token_Proxyproxy_
 Proxy.

const ACE_TCHARclient_id_
 Client_id.


Detailed Description

ACE_TSS_TPQ_Entry.

Not a public interface.

Definition at line 212 of file Local_Tokens.h.


Constructor & Destructor Documentation

ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry const ACE_Token_Proxy proxy,
const ACE_TCHAR client_id
 

These are passed to the constructor of ACE_TPQ_Entry in make_TSS_TYPE

Definition at line 203 of file Local_Tokens.cpp.

References ACE_TCHAR, and ACE_TRACE.

00205 : proxy_ (proxy),
00206   client_id_ (client_id)
00207 {
00208   ACE_TRACE ("ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry");
00209 }

ACE_TSS_TPQ_Entry::~ACE_TSS_TPQ_Entry void   )  [virtual]
 

Destructor.

Definition at line 184 of file Local_Tokens.cpp.

00185 {
00186 }

ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry const ACE_TSS_TPQ_Entry  )  [private]
 

Private: should not be used.


Member Function Documentation

void ACE_TSS_TPQ_Entry::dump void   )  const
 

Dump the state of the class.

Reimplemented from ACE_TPQ_Entry.

Definition at line 189 of file Local_Tokens.cpp.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, ACE_TPQ_Entry::dump(), and LM_DEBUG.

Referenced by ACE_Token_Proxy::dump().

00190 {
00191 #if defined (ACE_HAS_DUMP)
00192   ACE_TRACE ("ACE_TSS_TPQ_Entry::dump");
00193   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00194   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("ACE_TSS_TPQ_Entry::dump:\n")
00195                         ACE_LIB_TEXT (" client_id_ = %s\n"),
00196                         client_id_ == 0 ? ACE_LIB_TEXT ("0") : client_id_));
00197   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("base:\n")));
00198   ACE_TPQ_ENTRY::dump ();
00199   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00200 #endif /* ACE_HAS_DUMP */
00201 }

ACE_TPQ_Entry * ACE_TSS_TPQ_Entry::make_TSS_TYPE void   )  const [virtual]
 

Allows us to pass args to the construction of the TSS object.

Definition at line 212 of file Local_Tokens.cpp.

References ACE_NEW_RETURN, and ACE_TRACE.

00213 {
00214   ACE_TRACE ("ACE_TSS_TPQ_Entry::make_TSS_TYPE");
00215   ACE_TPQ_Entry *temp;
00216 
00217   ACE_NEW_RETURN (temp,
00218                   ACE_TPQ_Entry (this->proxy_,
00219                                  this->client_id_),
00220                   0);
00221   return temp;
00222 }

ACE_TSS_TPQ_Entry::operator ACE_TPQ_Entry * void   ) 
 

Operator overloading and inheritence don't mix.

Definition at line 224 of file Local_Tokens.cpp.

References ACE_TPQ_Entry::client_id(), and ACE_TPQ_Entry::proxy().

00225 {
00226 #if !defined (ACE_NO_TSS_TOKENS)
00227   return  (ACE_TPQ_Entry *) (*((ACE_TSS<ACE_TPQ_Entry> *) this));
00228 #else
00229   // Not sure this is the right thing to do, but it seems to work.
00230   // The base class ALSO has a proxy_ and client_id_ members (weird?)
00231   // which don't get initialised.  The following two lines make this
00232   // the same as the subclass, so that the slicing works .
00233   ACE_TPQ_ENTRY::proxy ((ACE_Token_Proxy *)(this->proxy_));
00234   ACE_TPQ_ENTRY::client_id (this->client_id_);
00235   return  (ACE_TPQ_Entry *) this;;
00236 #endif /* !ACE_NO_TSS_TOKENS */
00237 }

ACE_TPQ_Entry* ACE_TSS_TPQ_Entry::operator-> void   )  [inline]
 

Definition at line 233 of file Local_Tokens.h.

00234     {
00235       return (ACE_TPQ_Entry *) this;
00236     }

void ACE_TSS_TPQ_Entry::operator= const ACE_TSS_TPQ_Entry  )  [private]
 


Member Data Documentation

const ACE_TCHAR* ACE_TSS_TPQ_Entry::client_id_ [private]
 

Client_id.

Reimplemented from ACE_TPQ_Entry.

Definition at line 251 of file Local_Tokens.h.

const ACE_Token_Proxy* ACE_TSS_TPQ_Entry::proxy_ [private]
 

Proxy.

Reimplemented from ACE_TPQ_Entry.

Definition at line 248 of file Local_Tokens.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:32:05 2006 for ACE by doxygen 1.3.6