Public Member Functions | Data Fields

CacheHTTPInfoVector Struct Reference

#include <P_CacheHttp.h>

Collaboration diagram for CacheHTTPInfoVector:
Collaboration graph
[legend]

Public Member Functions

 CacheHTTPInfoVector ()
 ~CacheHTTPInfoVector ()
int count ()
int insert (CacheHTTPInfo *info, int id=-1)
CacheHTTPInfoget (int idx)
void detach (int idx, CacheHTTPInfo *r)
void remove (int idx, bool destroy)
void clear (bool destroy=true)
void reset ()
void print (char *buffer, size_t buf_size, bool temps=true)
int marshal_length ()
int marshal (char *buf, int length)
uint32_t get_handles (const char *buf, int length, RefCountObj *block_ptr=NULL)
int unmarshal (const char *buf, int length, RefCountObj *block_ptr)

Data Fields

void * magic
CacheArray< vec_infodata
int xcount
Ptr< RefCountObjvector_buf

Detailed Description

Definition at line 58 of file P_CacheHttp.h.


Constructor & Destructor Documentation

CacheHTTPInfoVector::CacheHTTPInfoVector (  ) 

Definition at line 261 of file CacheHttp.cc.

CacheHTTPInfoVector::~CacheHTTPInfoVector (  ) 

Definition at line 269 of file CacheHttp.cc.


Member Function Documentation

void CacheHTTPInfoVector::clear ( bool  destroy = true  ) 
int CacheHTTPInfoVector::count (  )  [inline]
void CacheHTTPInfoVector::detach ( int  idx,
CacheHTTPInfo r 
)

Definition at line 288 of file CacheHttp.cc.

References ink_assert.

TS_INLINE CacheHTTPInfo * CacheHTTPInfoVector::get ( int  idx  ) 
uint32_t CacheHTTPInfoVector::get_handles ( const char *  buf,
int  length,
RefCountObj block_ptr = NULL 
)

Definition at line 349 of file CacheHttp.cc.

References ink_assert.

int CacheHTTPInfoVector::insert ( CacheHTTPInfo info,
int  id = -1 
)
int CacheHTTPInfoVector::marshal ( char *  buf,
int  length 
)

Definition at line 332 of file CacheHttp.cc.

References ink_assert.

Referenced by agg_copy(), and TSCacheHttpInfoVector().

int CacheHTTPInfoVector::marshal_length (  ) 
void CacheHTTPInfoVector::print ( char *  buffer,
size_t  buf_size,
bool  temps = true 
)

Definition at line 314 of file CacheHttp.cc.

References ink_assert.

void CacheHTTPInfoVector::remove ( int  idx,
bool  destroy 
)
void CacheHTTPInfoVector::reset (  )  [inline]

Definition at line 74 of file P_CacheHttp.h.

References CacheArray< T >::clear(), data, and xcount.

int CacheHTTPInfoVector::unmarshal ( const char *  buf,
int  length,
RefCountObj block_ptr 
)

Definition at line 339 of file CacheHttp.cc.

References ink_assert.


Field Documentation

Definition at line 86 of file P_CacheHttp.h.

Referenced by get(), new_CacheVC(), and reset().

Definition at line 60 of file P_CacheHttp.h.

Definition at line 88 of file P_CacheHttp.h.

Definition at line 87 of file P_CacheHttp.h.

Referenced by count(), get(), and reset().


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