Public Member Functions | Static Public Member Functions | Data Fields

DLL< C, L > Struct Template Reference

#include <List.h>

Inherited by Queue< C, L >, Queue< ByteBankDescriptor >, Queue< CacheVC, Continuation::Link_link >, Queue< CacheVC, Link_CacheVC_opendir_link >, Queue< ChannelData >, Queue< ClusterVConnectionBase, ClusterVConnection::Link_read_link >, Queue< ClusterVConnectionBase, ClusterVConnection::Link_write_link >, Queue< ConfigVol >, Queue< DiskVolBlockQueue >, Queue< DNSConnection >, Queue< DNSEntry >, Queue< Entry >, Queue< HostDBContinuation, Continuation::Link_link >, Queue< IncomingControl >, Queue< InkXmlAttr >, Queue< InkXmlObject >, Queue< ListElem >, Queue< LogBuffer >, Queue< LogField >, Queue< LogFilter >, Queue< LogFormat >, Queue< LogHost >, Queue< OutgoingControl >, Queue< PinnedDocEntry >, Queue< PreDefinedFormatInfo >, Queue< RecTreeNode >, Queue< RegexMapping >, Queue< SSLEntry >, Queue< T >, Queue< UDPPacketInternal >, and Queue< UpdateEntry >.

Collaboration diagram for DLL< C, L >:
Collaboration graph
[legend]

Public Member Functions

bool empty () const
void push (C *e)
C * pop ()
void remove (C *e)
void insert (C *e, C *after)
bool in (C *e)
void clear ()
 DLL ()

Static Public Member Functions

static C *& next (C *e)
static C *& prev (C *e)
static C const * next (const C *e)
static C const * prev (const C *e)

Data Fields

C * head

Detailed Description

template<class C, class L = typename C::Link_link>
struct DLL< C, L >

Definition at line 144 of file List.h.


Constructor & Destructor Documentation

template<class C, class L = typename C::Link_link>
DLL< C, L >::DLL (  )  [inline]

Definition at line 158 of file List.h.


Member Function Documentation

template<class C, class L = typename C::Link_link>
void DLL< C, L >::clear ( void   )  [inline]
template<class C, class L = typename C::Link_link>
bool DLL< C, L >::empty (  )  const [inline]
template<class C, class L = typename C::Link_link>
bool DLL< C, L >::in ( C *  e  )  [inline]

Definition at line 151 of file List.h.

Referenced by Queue< C, L >::in_or_enqueue().

template<class C, class L >
void DLL< C, L >::insert ( C *  e,
C *  after 
) [inline]

Reimplemented in Queue< C, L >, and CountQueue< C, L >.

Definition at line 195 of file List.h.

References DLL< C, L >::next(), DLL< C, L >::prev(), and DLL< C, L >::push().

template<class C, class L = typename C::Link_link>
static C*& DLL< C, L >::next ( C *  e  )  [inline, static]
template<class C, class L = typename C::Link_link>
static C const* DLL< C, L >::next ( const C *  e  )  [inline, static]

Definition at line 155 of file List.h.

template<class C , class L >
C * DLL< C, L >::pop (  )  [inline]
template<class C, class L = typename C::Link_link>
static C const* DLL< C, L >::prev ( const C *  e  )  [inline, static]

Definition at line 156 of file List.h.

template<class C, class L = typename C::Link_link>
static C*& DLL< C, L >::prev ( C *  e  )  [inline, static]
template<class C, class L >
void DLL< C, L >::push ( C *  e  )  [inline]
template<class C, class L >
void DLL< C, L >::remove ( C *  e  )  [inline]

Field Documentation

template<class C, class L = typename C::Link_link>
C* DLL< C, L >::head

Definition at line 145 of file List.h.

Referenced by ClusterHandler::add_to_byte_bank(), Vol::aggWrite(), Vol::aggWriteDone(), Queue< C, L >::append(), CountQueue< C, L >::append_clear(), HttpTunnelProducer::backlog(), TSHashTable< H >::begin(), ClusterHandler::build_initial_vector(), HttpTunnel::chain_abort_all(), HttpTunnel::chain_abort_cache_write(), Queue< CacheVC, Link_CacheVC_opendir_link >::clear(), DLL< Bucket, typename Bucket::Link_m_link >::clear(), ClusterHandler::close_ClusterVConnection(), Vol::close_write(), cplist_init(), cplist_reconfigure(), cplist_update(), create_npn_advertisement(), CacheDisk::create_volume(), dir_lookaside_cleanup(), dir_lookaside_fixup(), dir_lookaside_probe(), dir_lookaside_remove(), CacheProcessor::diskInitialized(), Queue< CacheVC, Link_CacheVC_opendir_link >::empty(), DLL< Bucket, typename Bucket::Link_m_link >::empty(), Vol::evac_range(), Vol::evacuate_cleanup_blocks(), CacheVC::evacuateDocDone(), Vol::evacuateDocReadDone(), Vol::evacuateWrite(), evacuation_block_exists(), ClusterVConnectionCacheEvent::eventHandler(), execute_and_verify(), TSHashTable< H >::expand(), SSLNextProtocolSet::findEndpoint(), RecTree::first(), LogHostList::first(), LogFormatList::first(), LogFilterList::first(), LogFieldList::first(), InkXmlConfigFile::first(), InkXmlObject::first(), PacketQueue::firstPacket(), get_dns(), get_entry(), ClusterHandler::get_read_locks(), DLL< Bucket, typename Bucket::Link_m_link >::in(), CacheHostRecord::Init(), Queue< C, L >::insert(), ClusterVConnectionCache::lookup(), ClusterHandler::mainClusterEvent(), DNSHandler::mainEvent(), Cache::open(), plugin_load(), Queue< C, L >::pop(), DLL< C, L >::pop(), ClusterHandler::process_set_data_msgs(), HttpTunnel::producer_handler(), ClusterHandler::protoZombieEvent(), Queue< C, L >::push(), DLL< C, L >::push(), DLL< C, L >::remove(), HostDBContinuation::remove_trigger_pending_dns(), DNSHandler::rr_failure(), UDPQueue::service(), HostDBContinuation::set_check_pending_dns(), HttpTunnelProducer::set_throttle_src(), ShowCacheInternal::showVolEvacuations(), ShowCacheInternal::showVolVolumes(), OpenDir::signal_readers(), SortableQueue< C, L >::sort(), DNSHandler::switch_named(), HttpSM::tunnel_handler_post_or_put(), HttpSM::tunnel_handler_post_ua(), HttpSM::tunnel_handler_push(), SSLNextProtocolSet::unregisterEndpoint(), ClusterHandler::update_channels_read(), ClusterVConnection::was_remote_closed(), and write_dns().


The documentation for this struct was generated from the following file: