#include <Strategies_T.h>
Public Member Functions | |
ACE_Refcounted_Hash_Recyclable (void) | |
Default constructor. | |
ACE_Refcounted_Hash_Recyclable (const T &t, long 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_ |
Definition at line 788 of file Strategies_T.h.
ACE_Refcounted_Hash_Recyclable< T >::ACE_Refcounted_Hash_Recyclable | ( | void | ) |
Default constructor.
Definition at line 185 of file Strategies_T.inl.
: ACE_Refcountable (0), ACE_Hashable (), ACE_Recyclable (ACE_RECYCLABLE_UNKNOWN), t_ () { }
ACE_Refcounted_Hash_Recyclable< T >::ACE_Refcounted_Hash_Recyclable | ( | const T & | t, | |
long | refcount = 0 , |
|||
ACE_Recyclable_State | state = ACE_RECYCLABLE_UNKNOWN | |||
) |
Constructor.
Definition at line 194 of file Strategies_T.inl.
: ACE_Refcountable (refcount), ACE_Hashable (), ACE_Recyclable (state), t_ (t) { }
ACE_Refcounted_Hash_Recyclable< T >::~ACE_Refcounted_Hash_Recyclable | ( | void | ) | [virtual] |
u_long ACE_Refcounted_Hash_Recyclable< T >::hash_i | ( | void | ) | const [protected] |
Computes and returns hash value.
Definition at line 205 of file Strategies_T.inl.
{ return this->t_.hash (); }
bool ACE_Refcounted_Hash_Recyclable< T >::operator!= | ( | const ACE_Refcounted_Hash_Recyclable< T > & | rhs | ) | const |
Definition at line 225 of file Strategies_T.inl.
{ return !this->operator== (rhs); }
bool ACE_Refcounted_Hash_Recyclable< T >::operator== | ( | const ACE_Refcounted_Hash_Recyclable< T > & | rhs | ) | const |
Compares two instances.
Definition at line 217 of file Strategies_T.inl.
{ return this->recycle_state () == rhs.recycle_state () && this->t_ == rhs.t_; }
T & ACE_Refcounted_Hash_Recyclable< T >::subject | ( | void | ) |
Definition at line 211 of file Strategies_T.inl.
{ return this->t_; }
T ACE_Refcounted_Hash_Recyclable< T >::t_ [protected] |
Definition at line 814 of file Strategies_T.h.