Inheritance diagram for MimeIcon:
Collaboration diagram for MimeIcon:

Public Member Functions

void * operator new (size_t byteCount)
 
void operator delete (void *address)
 
 MimeIcon (const char *aName)
 
 ~MimeIcon ()
 
void setName (char const *)
 
SBuf getName () const
 
void load ()
 
virtual void created (StoreEntry *)
 
virtual LogTagsloggingTags ()
 
virtual void fillChecklist (ACLFilledChecklist &) const
 configure the ACL checklist with the current transaction state More...
 

Static Public Member Functions

static int UseCount ()
 

Protected Member Functions

bool startCollapsingOn (const StoreEntry &, const bool doingRevalidation)
 
bool mayInitiateCollapsing () const
 whether Squid configuration allows us to become a CF initiator More...
 
bool onCollapsingPath () const
 whether Squid configuration allows collapsing for this transaction More...
 

Static Private Member Functions

static Mem::AllocatorProxyPool ()
 

Private Attributes

SBuf icon_
 
char * url_
 

Detailed Description

Definition at line 36 of file mime.cc.

Constructor & Destructor Documentation

MimeIcon::MimeIcon ( const char *  aName)
explicit

Definition at line 121 of file mime.cc.

References setName().

MimeIcon::~MimeIcon ( )

Definition at line 127 of file mime.cc.

References url_, and xfree.

Member Function Documentation

void MimeIcon::fillChecklist ( ACLFilledChecklist checklist) const
virtual

Implements StoreClient.

Definition at line 444 of file mime.cc.

References assert.

SBuf MimeIcon::getName ( ) const

Definition at line 141 of file mime.cc.

References icon_.

Referenced by mimeGetIcon().

void MimeIcon::load ( )

Definition at line 352 of file mime.cc.

References SBuf::c_str(), fatal(), StoreEntry::getPublic(), icon_, Http::METHOD_GET, mimeGetContentType(), NULL, type, and url_.

Referenced by mimeInit().

virtual LogTags* MimeIcon::loggingTags ( )
inlinevirtual
Returns
LogTags (if the class logs transactions) or nil (otherwise)

Implements StoreClient.

Definition at line 49 of file mime.cc.

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotectedinherited
void MimeIcon::operator delete ( void *  address)
inline

Definition at line 38 of file mime.cc.

void* MimeIcon::operator new ( size_t  byteCount)
inline

Definition at line 38 of file mime.cc.

static Mem::AllocatorProxy& MimeIcon::Pool ( )
inlinestaticprivate

Definition at line 38 of file mime.cc.

void MimeIcon::setName ( char const *  aString)

Definition at line 133 of file mime.cc.

References icon_, internalLocalUri(), url_, xfree, and xstrdup.

Referenced by MimeIcon().

bool StoreClient::startCollapsingOn ( const StoreEntry e,
const bool  doingRevalidation 
)
protectedinherited
Returns
whether the caller must collapse on the given entry Before returning true, updates common collapsing-related stats. See also: StoreEntry::hittingRequiresCollapsing().

Definition at line 65 of file store_client.cc.

References debugs, StoreEntry::hittingRequiresCollapsing(), StoreClient::loggingTags(), and StoreClient::onCollapsingPath().

Referenced by ICPState::confirmAndPrepHit(), UrnState::created(), htcpSpecifier::created(), clientReplyContext::identifyFoundObject(), and clientReplyContext::processExpired().

static int MimeIcon::UseCount ( )
inlinestatic

Definition at line 38 of file mime.cc.

Member Data Documentation

SBuf MimeIcon::icon_
private

Definition at line 53 of file mime.cc.

Referenced by created(), getName(), load(), and setName().

char* MimeIcon::url_
private

Definition at line 54 of file mime.cc.

Referenced by created(), load(), setName(), and ~MimeIcon().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors