block Class Reference

#include <block.h>

Inheritance diagram for block:

Inheritance graph
[legend]
Collaboration diagram for block:

Collaboration graph
[legend]

List of all members.

Public Types

typedef shared_ptr< blockptr

Public Member Functions

 block (iter filewalker)
virtual int size () const =0
virtual string name () const
virtual void reportstuff (esmfilehead &esm)
virtual bool checksig (const rsa &key)=0

Static Public Member Functions

static int getType (iter filewalker)
static ptr Factory (iter &filewalker)

Protected Member Functions

virtual void printOn (reporter &o) const

Protected Attributes

iter signature
bool validsignature
bool hassignature
iter start
int type

Friends

std::ostream & operator<< (reporter &o, const block &b)


Member Typedef Documentation

typedef shared_ptr<block> block::ptr


Constructor & Destructor Documentation

block::block ( iter  filewalker  )  [inline]


Member Function Documentation

virtual bool block::checksig ( const rsa key  )  [pure virtual]

Implemented in tlvblock, and vublock.

static ptr block::Factory ( iter filewalker  )  [static]

Reimplemented in tlvblock.

static int block::getType ( iter  filewalker  )  [inline, static]

virtual string block::name (  )  const [inline, virtual]

virtual void block::printOn ( reporter o  )  const [inline, protected, virtual]

virtual void block::reportstuff ( esmfilehead esm  )  [inline, virtual]

virtual int block::size (  )  const [pure virtual]

Implemented in Activities, tlvblock, Faults, Overview, Speeds, Technical, and vublock.

Referenced by printOn().


Friends And Related Function Documentation

std::ostream& operator<< ( reporter o,
const block b 
) [friend]


Member Data Documentation

bool block::hassignature [protected]

iter block::signature [protected]

iter block::start [protected]

int block::type [protected]

Referenced by name(), and tlvblock::tlvblock().

bool block::validsignature [protected]


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

Generated on Tue May 19 19:41:54 2009 by  doxygen 1.5.8