Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index

Class: DataBlock

This is a base class.

Description:
This is a generic class for describing a fixed size block of parsed binary data. This is an abstract class, which provides no real functionality of its own. Subclasses should provide data contents and methods for reading and writing. The classes produced by the db2class perl script are all subclasses of this one.

Data Fields
publicconst static intsize
protectedstringline

Constructors / Destructor
protected DataBlock()
protected ~DataBlock()

Methods
public pure virtual void read(Reader* r)
Throws: Interpreter: :Exception
public pure virtual void write(Writer* w)
Throws: Interpreter::Exception
public virtual const string& toString()

Operators


Alphabetic Class Index   |   Class Inheritance Tree Index   |   Tool Index