rasdaman API
tilecompnone.hh
Go to the documentation of this file.
1 /*
2 * This file is part of rasdaman community.
3 *
4 * Rasdaman community is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * Rasdaman community is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
18 rasdaman GmbH.
19 *
20 * For more information please see <http://www.rasdaman.org>
21 * or contact Peter Baumann via <baumann@rasdaman.com>.
22 /
39 #ifndef _R_TILE_COMP_NONE_HH_
40 #define _R_TILE_COMP_NONE_HH_
41 
42 #include "compression/tilecompression.hh"
43 
44 
45 //@ManMemo: Module {\bf compression}
46 
47 /*@Doc:
48  Tile compression for no compression.
49 */
50 
51 class r_Tile_Comp_None : public r_Tile_Compression
52 {
53 public:
55  r_Tile_Comp_None( const r_Minterval &dom, const r_Base_Type *type );
57  r_Tile_Comp_None( const r_Tile_Comp_None &src );
59  ~r_Tile_Comp_None( void );
61  virtual void *compress( const void *data, r_ULong &size, const char *options=NULL );
63  virtual void *decompress( const void *data, r_ULong size, const char *options=NULL );
65  const char *get_name( void ) const;
66  r_Data_Format get_data_format( void ) const;
68  r_Tile_Compression *clone( void ) const;
69 };
70 
71 #endif