#include <HttpHdrSc.h>

Collaboration diagram for HttpHdrSc:

Public Member Functions

void * operator new (size_t byteCount)
 
void operator delete (void *address)
 
bool parse (const String *str)
 
void packInto (Packable *p) const
 
void updateStats (StatHist *) const
 
HttpHdrScTargetgetMergedTarget (const char *ourtarget)
 
void setMaxAge (char const *target, int max_age)
 

Static Public Member Functions

static int UseCount ()
 

Private Member Functions

HttpHdrScTargetfindTarget (const char *target)
 

Static Private Member Functions

static Mem::AllocatorProxyPool ()
 

Private Attributes

std::list< HttpHdrScTarget, PoolingAllocator< HttpHdrScTarget > > targets
 

Detailed Description

Definition at line 23 of file HttpHdrSc.h.

Member Function Documentation

◆ findTarget()

HttpHdrScTarget * HttpHdrSc::findTarget ( const char *  target)
private

Definition at line 285 of file HttpHdrSc.cc.

References NULL, and targets.

Referenced by getMergedTarget(), and setMaxAge().

◆ getMergedTarget()

HttpHdrScTarget * HttpHdrSc::getMergedTarget ( const char *  ourtarget)

◆ operator delete()

void HttpHdrSc::operator delete ( void *  address)
inline

Definition at line 25 of file HttpHdrSc.h.

◆ operator new()

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

Definition at line 25 of file HttpHdrSc.h.

◆ packInto()

void HttpHdrSc::packInto ( Packable p) const

Definition at line 228 of file HttpHdrSc.cc.

References assert, and targets.

◆ parse()

◆ Pool()

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

Definition at line 25 of file HttpHdrSc.h.

◆ setMaxAge()

void HttpHdrSc::setMaxAge ( char const *  target,
int  max_age 
)

Definition at line 238 of file HttpHdrSc.cc.

References findTarget(), HttpHdrScTarget::maxAge(), and targets.

◆ updateStats()

void HttpHdrSc::updateStats ( StatHist hist) const

Definition at line 251 of file HttpHdrSc.cc.

References targets.

◆ UseCount()

static int HttpHdrSc::UseCount ( )
inlinestatic

Definition at line 25 of file HttpHdrSc.h.

Member Data Documentation

◆ targets

std::list<HttpHdrScTarget, PoolingAllocator<HttpHdrScTarget> > HttpHdrSc::targets
private

Definition at line 37 of file HttpHdrSc.h.

Referenced by findTarget(), packInto(), parse(), setMaxAge(), and updateStats().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors