#include <Strategies_T.h>
Inheritance diagram for ACE_Refcounted_Hash_Recyclable< T >:
Public Member Functions | |
ACE_Refcounted_Hash_Recyclable (void) | |
Default constructor. | |
ACE_Refcounted_Hash_Recyclable (const T &t, int refcount=0, ACE_Recyclable_State state=ACE_RECYCLABLE_UNKNOWN) | |
Constructor. | |
virtual | ~ACE_Refcounted_Hash_Recyclable (void) |
Destructor. | |
bool | operator== (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const |
Compares two instances. | |
bool | operator!= (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const |
T & | subject () |
Protected Member Functions | |
u_long | hash_i (void) const |
Computes and returns hash value. | |
Protected Attributes | |
T | t_ |
|
Default constructor.
Definition at line 185 of file Strategies_T.inl. References ACE_RECYCLABLE_UNKNOWN.
00186 : ACE_Refcountable (0), 00187 ACE_Hashable (), 00188 ACE_Recyclable (ACE_RECYCLABLE_UNKNOWN), 00189 t_ () 00190 { 00191 } |
|
Constructor.
Definition at line 194 of file Strategies_T.inl.
00197 : ACE_Refcountable (refcount), 00198 ACE_Hashable (), 00199 ACE_Recyclable (state), 00200 t_ (t) 00201 { 00202 } |
|
Destructor.
Definition at line 1431 of file Strategies_T.cpp.
01432 { 01433 } |
|
Computes and returns hash value.
Implements ACE_Hashable. Definition at line 205 of file Strategies_T.inl.
00206 { 00207 return this->t_.hash (); 00208 } |
|
Definition at line 225 of file Strategies_T.inl. References ACE_Refcounted_Hash_Recyclable< T >::operator==().
00226 { 00227 return !this->operator== (rhs); 00228 } |
|
Compares two instances.
Definition at line 217 of file Strategies_T.inl. References ACE_Recyclable::recycle_state(), and ACE_Refcounted_Hash_Recyclable< T >::t_. Referenced by ACE_Refcounted_Hash_Recyclable< T >::operator!=().
00218 { 00219 return 00220 this->recycle_state () == rhs.recycle_state () 00221 && this->t_ == rhs.t_; 00222 } |
|
Definition at line 211 of file Strategies_T.inl.
00212 { 00213 return this->t_; 00214 } |
|
Definition at line 814 of file Strategies_T.h. Referenced by ACE_Refcounted_Hash_Recyclable< T >::operator==(). |