Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

WP3FixedLengthGroup.h

Go to the documentation of this file.
00001 /* libwpd
00002  * Copyright (C) 2004 Marc Maurer (uwog@uwog.net)
00003  *  
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
00017  *
00018  * For further information visit http://libwpd.sourceforge.net
00019  */
00020 
00021 /* "This product is not manufactured, approved, or supported by 
00022  * Corel Corporation or Corel Corporation Limited."
00023  */
00024 
00025 #ifndef WP3FIXEDLENGTHGROUP_H
00026 #define WP3FIXEDLENGTHGROUP_H
00027 
00028 #include "WP3Part.h"
00029 
00030 class WP3FixedLengthGroup : public WP3Part
00031 {
00032  public:
00033         WP3FixedLengthGroup(int groupID);
00034         static WP3FixedLengthGroup * constructFixedLengthGroup(WPXInputStream *input, uint8_t groupID);
00035 
00036         const uint8_t getGroup() const { return m_group; } 
00037  
00038  protected:
00039         void _read(WPXInputStream *input);
00040         virtual void _readContents(WPXInputStream *input) = 0; // we always read the contents in the case of a fixed length group
00041  private:
00042         uint8_t m_group;         
00043 };
00044 
00045 #endif /* WP3FIXEDLENGTHGROUP_H */

Generated on Sat Jul 1 21:51:46 2006 for libwpd by doxygen 1.3.9.1