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 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 mayInitiateCollapsing () const
 whether Squid configuration allows us to become a CF initiator More...
bool mayCollapseOn (const StoreEntry &initiatorEntry) const
 whether Squid configuration allows collapsing on the initiatorEntry 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

Constructor & Destructor Documentation

MimeIcon::MimeIcon ( const char *  aName)

Definition at line 120 of file

References setName().

MimeIcon::~MimeIcon ( )

Definition at line 126 of file

References url_, and xfree.

Member Function Documentation

void MimeIcon::fillChecklist ( ACLFilledChecklist checklist) const

Implements StoreClient.

Definition at line 443 of file

References assert.

SBuf MimeIcon::getName ( ) const

Definition at line 140 of file

References icon_.

Referenced by mimeGetIcon().

void MimeIcon::load ( )

Definition at line 351 of file

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

Referenced by mimeInit().

bool StoreClient::mayCollapseOn ( const StoreEntry initiatorEntry) const
bool StoreClient::mayInitiateCollapsing ( ) const
void MimeIcon::operator delete ( void *  address)

Definition at line 38 of file

void* MimeIcon::operator new ( size_t  byteCount)

Definition at line 38 of file

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

Definition at line 38 of file

void MimeIcon::setName ( char const *  aString)

Definition at line 132 of file

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

Referenced by MimeIcon().

static int MimeIcon::UseCount ( )

Definition at line 38 of file

Member Data Documentation

SBuf MimeIcon::icon_

Definition at line 52 of file

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

char* MimeIcon::url_

Definition at line 53 of file

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

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






Web Site Translations