Public Member Functions | Public Attributes
VuUnknownBlock Class Reference

#include <VuUnknownBlock.h>

Inheritance diagram for VuUnknownBlock:
Inheritance graph
[legend]
Collaboration diagram for VuUnknownBlock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VuUnknownBlock (const DataPointer &start)
virtual int size () const
 Size of data used in the file.
virtual QString title () const
 Possible title for the block (empty if unset)
virtual QString className () const
 Name of block element in the specification (or something meaningful if there is no name in the law)
virtual void printOn (Reporter &o) const

Public Attributes

RawData data

Detailed Description

This block is for debugging, in case the program encounters some data it so far cannot read, it reports hex data and as many useful information as possible


Constructor & Destructor Documentation

VuUnknownBlock::VuUnknownBlock ( const DataPointer start)

Member Function Documentation

QString VuUnknownBlock::className ( ) const [virtual]

Name of block element in the specification (or something meaningful if there is no name in the law)

This usually matches the name of the c++-class used to read and show the data

Implements Block.

References hexByte(), and Block::start.

void VuUnknownBlock::printOn ( Reporter o) const [virtual]

Implements VuBlock.

References data, and Reporter::writeBlock().

int VuUnknownBlock::size ( ) const [virtual]

Size of data used in the file.

If the data element uses 3 bytes in the file, size() will return 3.

Implements VuBlock.

References DataPointer::bytesLeft(), and Block::start.

QString VuUnknownBlock::title ( ) const [virtual]

Possible title for the block (empty if unset)

Implements VuBlock.

References hexByte(), and Block::start.


Member Data Documentation

Referenced by printOn().


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