rasdaman complete source
ecw.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 /
35 #ifndef _R_CONV_ECW_HH_
36 #define _R_CONV_ECW_HH_
37 #include "conversion/convertor.hh"
38 
39 //@ManMemo: Module {\bf conversion}
40 
41 /*@Doc:
42  ECW convertor class.
43 
44  Supported parameters are
45 
46  \begin{tabular}{lcl}
47  {\tt windowx} && uint && maximum number of colums to convert in one ecw call, default 1000\\
48  {\tt windowy} && uint && maximum number of lines to convert in one ecw call, default 1000\\
49  \end{tabular}
50 */
51 
52 
53 class r_Conv_ECW : public r_Convertor
54 {
55 public:
56  r_Conv_ECW(const char* source, const r_Minterval& lengthordomain, const r_Type* tp) throw(r_Error);
57 
58  r_Conv_ECW(const char* source, const r_Minterval& lengthordomain, int tp) throw(r_Error);
59 
60  r_convDesc& convertFrom(const char* options = NULL) throw (r_Error);
61 
62  r_convDesc& convertTo(const char* options = NULL) throw (r_Error);
63 
64  const char* get_name() const;
65 
67 
68  r_Convertor* clone() const;
69 
70 
71 private:
72  void initECW();
73 
74 };
75 
76 #endif
77 
78 
r_convDesc & convertTo(const char *options=NULL)
convert array to DEF
r_Conv_ECW(const char *source, const r_Minterval &lengthordomain, const r_Type *tp)
const char * get_name() const
identification
Definition: error.hh:88
Definition: raslib/type.hh:56
Definition: ecw.hh:53
Definition: convertor.hh:111
r_Data_Format
Definition: mddtypes.hh:133
r_Data_Format get_data_format() const
r_convDesc & convertFrom(const char *options=NULL)
convert DEF to array
Definition: convertor.hh:56
r_Convertor * clone() const
cloning
Definition: minterval.hh:249