#include <VuUnknownBlock.h>


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 |
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
| VuUnknownBlock::VuUnknownBlock | ( | const DataPointer & | start | ) |
References TopLevelBlock::hasSignature.
| 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.
Referenced by printOn().
1.7.4