fileformat/VuBlocks/VuBlock.h
Go to the documentation of this file.
00001 /* Copyright 2009 Andreas Gölzer
00002 
00003  This file is part of readESM.
00004 
00005  readESM is free software: you can redistribute it and/or modify it under the
00006  terms of the GNU General Public License as published by the Free Software
00007  Foundation, either version 3 of the License, or (at your option) any later
00008  version.
00009 
00010  readESM is distributed in the hope that it will be useful, but WITHOUT ANY
00011  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00012  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
00013 
00014  You should have received a copy of the GNU General Public License along with
00015  readESM.  If not, see <http://www.gnu.org/licenses/>. */
00016 
00017 #ifndef VUBLOCK_H
00018 #define VUBLOCK_H
00019 
00020 #include "../TopLevelBlock.h"
00021 
00022 class VuBlock : public TopLevelBlock {
00023         public:
00024         virtual QString title() const = 0;
00025         VuBlock(const DataPointer& nstart);
00026         virtual int size() const = 0;
00027         virtual void printOn(Reporter& report) const = 0;
00028         virtual RawData signedBytes() const;
00029 };
00030 
00031 #endif