#include <Ptr.h>
Public Member Functions | |
Ptr (T *p=0) | |
Ptr (const Ptr< T > &) | |
~Ptr () | |
void | clear () |
Ptr< T > & | operator= (const Ptr< T > &) |
Ptr< T > & | operator= (T *) |
T * | to_ptr () |
operator T * () const | |
T * | operator-> () const |
T & | operator* () const |
int | operator== (const T *p) |
int | operator== (const Ptr< T > &p) |
int | operator!= (const T *p) |
int | operator!= (const Ptr< T > &p) |
RefCountObj * | _ptr () |
Data Fields | |
T * | m_ptr |
Definition at line 305 of file Ptr.h.
Definition at line 372 of file Ptr.h.
References Ptr< T >::_ptr(), Ptr< T >::m_ptr, and RefCountObj::refcount_inc().
Definition at line 381 of file Ptr.h.
References Ptr< T >::_ptr(), Ptr< T >::m_ptr, and RefCountObj::refcount_inc().
Definition at line 390 of file Ptr.h.
References Ptr< T >::_ptr(), RefCountObj::free(), and Ptr< T >::m_ptr.
RefCountObj* Ptr< T >::_ptr | ( | ) | [inline] |
Definition at line 354 of file Ptr.h.
Referenced by CacheVC::openReadFromWriter(), Ptr< T >::operator=(), Ptr< T >::Ptr(), CacheVC::scanObject(), and Ptr< T >::~Ptr().
void Ptr< T >::clear | ( | void | ) | [inline] |
Definition at line 417 of file Ptr.h.
References Ptr< T >::m_ptr.
Referenced by LogObject::add_loghost(), ProxyClientSession::cleanup(), HttpSM::cleanup(), FetchSM::cleanUp(), HttpServerSession::destroy(), UnixNetVConnection::free(), SSLNetVConnection::free(), KeepAliveConn::free(), PrefetchBlaster::free(), PrefetchUrlBlaster::free(), free_CacheVC(), FetchSM::init_comm(), HttpClientSession::new_connection(), MutexTryLock::release(), MutexLock::release(), RemapPlugins::run_remap(), and VolInitInfo::~VolInitInfo().
int Ptr< T >::operator!= | ( | const T * | p | ) | [inline] |
Definition at line 425 of file Ptr.h.
References Ptr< T >::m_ptr.
Definition at line 398 of file Ptr.h.
References Ptr< T >::_ptr(), Ptr< T >::m_ptr, RefCountObj::refcount_inc(), and T.
int Ptr< T >::operator== | ( | const T * | p | ) | [inline] |
Definition at line 359 of file Ptr.h.
Referenced by Ptr< NetAcceptAction >::_ptr(), Ptr< T >::clear(), IOBufferBlock::clear(), HdrHeap::demote_rw_str_heap(), CacheVC::get_header(), CacheVC::get_single_data(), HdrHeap_Coalesce(), HdrHeap::inherit_string_heaps(), HdrHeap::init(), CoreUtils::load_http_hdr(), PluginVC::main_handler(), UnixNetVConnection::mainEvent(), HdrHeap::marshal(), SSLNetVConnection::net_read_io(), Ptr< UpdateConfigParams >::operator UpdateConfigParams *(), Ptr< NetAcceptAction >::operator!=(), Ptr< NetAcceptAction >::operator*(), Ptr< NetAcceptAction >::operator->(), Ptr< T >::operator=(), Ptr< NetAcceptAction >::operator==(), print_netstate(), EThread::process_event(), HttpSM::process_srv_info(), Ptr< T >::Ptr(), read_from_net(), MutexTryLock::release(), HdrHeap::sanity_check_strs(), EThread::schedule(), EThread::schedule_local(), Ptr< NetAcceptAction >::to_ptr(), HdrHeap::unmarshal(), write_to_net_io(), MutexTryLock::~MutexTryLock(), and Ptr< T >::~Ptr().