#include <vublock.h>


Public Member Functions | |
| virtual string | name () const =0 |
| vublock (iter nstart) | |
| virtual void | Init () |
| int | getBEInt32 (const unsigned char *start) const |
| Time | readDate (const unsigned char *in) const |
| Time | readDate (int start) const |
| Time | readDate () const |
| string | fixedString (int length) const |
| int | IntByte (int start) const |
| int | IntByte () const |
| int | Int16 (int start) const |
| int | Int16 () const |
| int | Odometer (int start) const |
| int | Odometer () const |
| string | fixedString (int offset, int length) const |
| virtual int | size () const =0 |
| virtual void | CompleteReport (reporter &report) const =0 |
| virtual void | BriefReport (reporter &report) const =0 |
| virtual void | printOn (reporter &report) const |
| virtual bool | checksig (const rsa &key) |
| virtual int | nonhashedbytes () const |
Public Attributes | |
| const unsigned char * | block_start |
| int | runningIndex |
| vublock::vublock | ( | iter | nstart | ) | [inline] |
References block::hassignature.
| virtual void vublock::BriefReport | ( | reporter & | report | ) | const [pure virtual] |
| virtual bool vublock::checksig | ( | const rsa & | key | ) | [inline, virtual] |
Implements block.
References CheckSignature(), nonhashedbytes(), block::signature, size(), block::start, and block::validsignature.
| virtual void vublock::CompleteReport | ( | reporter & | report | ) | const [pure virtual] |
| string vublock::fixedString | ( | int | offset, | |
| int | length | |||
| ) | const [inline] |
References fixedString(), and block::start.
| string vublock::fixedString | ( | int | length | ) | const [inline] |
References runningIndex, and block::start.
Referenced by Activities::Activities(), Technical::CompleteReport(), Overview::CompleteReport(), Faults::CompleteReport(), Activities::CompleteReport(), fixedString(), and Overview::reportstuff().
| int vublock::getBEInt32 | ( | const unsigned char * | start | ) | const [inline] |
| virtual void vublock::Init | ( | ) | [inline, virtual] |
References block::signature, size(), and block::start.
Referenced by Activities::Activities(), Faults::Faults(), Overview::Overview(), Speeds::Speeds(), and Technical::Technical().
| int vublock::Int16 | ( | ) | const [inline] |
References runningIndex.
Referenced by Activities::Activities(), Speeds::BriefReport(), Technical::CompleteReport(), Speeds::CompleteReport(), Activities::CompleteReport(), Speeds::size(), and Activities::size().
| int vublock::Int16 | ( | int | start | ) | const [inline] |
References block_start.
| int vublock::IntByte | ( | ) | const [inline] |
| int vublock::IntByte | ( | int | start | ) | const [inline] |
References block_start.
| virtual string vublock::name | ( | ) | const [pure virtual] |
| virtual int vublock::nonhashedbytes | ( | ) | const [inline, virtual] |
| int vublock::Odometer | ( | ) | const [inline] |
References runningIndex.
Referenced by Activities::Activities(), Technical::CompleteReport(), and Activities::CompleteReport().
| int vublock::Odometer | ( | int | start | ) | const [inline] |
References block_start.
| virtual void vublock::printOn | ( | reporter & | report | ) | const [inline, virtual] |
| Time vublock::readDate | ( | ) | const [inline] |
| Time vublock::readDate | ( | int | start | ) | const [inline] |
References block_start, and readDate().
| Time vublock::readDate | ( | const unsigned char * | in | ) | const [inline] |
References Time::fromBigEndianChars32().
| virtual int vublock::size | ( | ) | const [pure virtual] |
Implements block.
Implemented in Activities, Faults, Overview, Speeds, and Technical.
Referenced by checksig(), and Init().
| const unsigned char* vublock::block_start |
Referenced by Int16(), IntByte(), Odometer(), Activities::readActivity(), readDate(), and Overview::size().
int vublock::runningIndex [mutable] |
1.5.8