#include <StoreMeta.h>

Inheritance diagram for StoreMeta:
Collaboration diagram for StoreMeta:

Public Member Functions

virtual char getType () const =0
 
virtual bool validLength (int) const
 
virtual bool checkConsistency (StoreEntry *) const
 
virtual ~StoreMeta ()
 

Static Public Member Functions

static bool validType (char)
 
static StoreMetaFactory (char type, size_t len, void const *value)
 
static StoreMeta ** Add (StoreMeta **tail, StoreMeta *aNode)
 
static void FreeList (StoreMeta **head)
 

Public Attributes

int length
 
void * value
 
tlvnext
 

Static Public Attributes

static int const MaximumTLVLength = 1 << 16
 
static int const MinimumTLVLength = 0
 

Protected Member Functions

 StoreMeta ()
 
 StoreMeta (const StoreMeta &)
 
StoreMetaoperator= (const StoreMeta &)
 

Detailed Description

Definition at line 112 of file StoreMeta.h.

Constructor & Destructor Documentation

StoreMeta::StoreMeta ( )
inlineprotected

Definition at line 115 of file StoreMeta.h.

StoreMeta::StoreMeta ( const StoreMeta s)
protected

Definition at line 167 of file StoreMeta.cc.

virtual StoreMeta::~StoreMeta ( )
inlinevirtual

Definition at line 130 of file StoreMeta.h.

Member Function Documentation

StoreMeta ** StoreMeta::Add ( StoreMeta **  tail,
StoreMeta aNode 
)
static

Definition at line 130 of file StoreMeta.cc.

References assert, next, and NULL.

Referenced by StoreMetaUnpacker::doOneEntry(), and storeSwapMetaBuild().

bool StoreMeta::checkConsistency ( StoreEntry ) const
virtual
StoreMeta * StoreMeta::Factory ( char  type,
size_t  len,
void const *  value 
)
static
void StoreMeta::FreeList ( StoreMeta **  head)
static

Definition at line 118 of file StoreMeta.cc.

References next, NULL, value, and xfree.

Referenced by main().

virtual char StoreMeta::getType ( ) const
pure virtual
StoreMeta & StoreMeta::operator= ( const StoreMeta s)
protected

Definition at line 173 of file StoreMeta.cc.

References length, next, and value.

bool StoreMeta::validLength ( int  aLength) const
virtual

Reimplemented in StoreMetaMD5, StoreMetaSTD, and StoreMetaSTDLFS.

Definition at line 56 of file StoreMeta.cc.

References Range< C, S >::contains(), DBG_CRITICAL, debugs, MaximumTLVLength, MinimumTLVLength, and MYNAME.

Referenced by Factory().

bool StoreMeta::validType ( char  type)
static

Member Data Documentation

const int StoreMeta::MaximumTLVLength = 1 << 16
static

Definition at line 121 of file StoreMeta.h.

Referenced by validLength().

const int StoreMeta::MinimumTLVLength = 0
static

Definition at line 122 of file StoreMeta.h.

Referenced by validLength().

tlv* StoreMeta::next

Definition at line 134 of file StoreMeta.h.

Referenced by Add(), FreeList(), and operator=().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors