#include <StoreMetaSTD.h>

Inheritance diagram for StoreMetaSTD:
Collaboration diagram for StoreMetaSTD:

Public Member Functions

char getType () const
 
bool validLength (int) const
 
virtual bool checkConsistency (StoreEntry *) const
 

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
 

Private Member Functions

 MEMPROXY_CLASS (StoreMetaSTD)
 

Detailed Description

Definition at line 14 of file StoreMetaSTD.h.

Member Function Documentation

◆ Add()

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

Definition at line 130 of file StoreMeta.cc.

References assert, StoreMeta::next, and NULL.

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

◆ checkConsistency()

bool StoreMeta::checkConsistency ( StoreEntry ) const
virtualinherited

◆ Factory()

◆ FreeList()

void StoreMeta::FreeList ( StoreMeta **  head)
staticinherited

Definition at line 118 of file StoreMeta.cc.

References StoreMeta::next, NULL, StoreMeta::value, and xfree.

Referenced by main().

◆ getType()

char StoreMetaSTD::getType ( ) const
inlinevirtual

Implements StoreMeta.

Definition at line 19 of file StoreMetaSTD.h.

References STORE_META_STD, and validLength().

◆ MEMPROXY_CLASS()

StoreMetaSTD::MEMPROXY_CLASS ( StoreMetaSTD  )
private

◆ validLength()

bool StoreMetaSTD::validLength ( int  len) const
virtual

Reimplemented from StoreMeta.

Definition at line 17 of file StoreMetaSTD.cc.

References STORE_HDR_METASIZE_OLD.

Referenced by getType().

◆ validType()

Member Data Documentation

◆ length

◆ MaximumTLVLength

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

Definition at line 121 of file StoreMeta.h.

Referenced by StoreMeta::validLength(), and StoreMeta::validType().

◆ MinimumTLVLength

const int StoreMeta::MinimumTLVLength = 0
staticinherited

Definition at line 122 of file StoreMeta.h.

Referenced by StoreMeta::validLength(), and StoreMeta::validType().

◆ next

tlv* StoreMeta::next
inherited

Definition at line 134 of file StoreMeta.h.

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

◆ value


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors