rasdaman complete source
rviewTypes.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 /
23 
36 #ifndef _RVTYPES_HH_
37 #define _RVTYPES_HH_
38 
39 //------------------------------------------------------------
40 // Includes
41 //------------------------------------------------------------
42 
43 #if (defined(EARLY_TEMPLATE) && !defined(__EXECUTABLE__))
44 #define __EXECUTABLE__
45 #define __UNDEF_EXEC_TYPES__
46 #endif
47 
48 #include "rasodmg/ref.hh"
49 #include "rasodmg/transaction.hh"
50 #include "rasodmg/database.hh"
51 #include "rasodmg/set.hh"
52 #include "rasodmg/iterator.hh"
53 #include "rasodmg/marray.hh"
54 #include "raslib/odmgtypes.hh"
55 
56 #if (defined(EARLY_TEMPLATE) && defined(__UNDEF_EXEC_TYPES__))
57 #undef __EXECUTABLE__
58 #undef __UNDEF_EXEC_TYPES__
59 #endif
60 
61 /*[2,33]*//* TYPEDEF ------------------------- GreyImage */
62 typedef r_Marray<r_Char/*[*:*,*:*]*/> GreyImage;
63 
64 /*[3,24]*//* TYPEDEF ------------------------- GreySet */
65 typedef r_Set<r_Ref<GreyImage> > GreySet;
66 
67 /*[6,36]*//* TYPEDEF ------------------------- BoolImage */
68 typedef r_Marray<r_Boolean/*[*:*,*:*]*/> BoolImage;
69 
70 /*[7,24]*//* TYPEDEF ------------------------- BoolSet */
71 typedef r_Set<r_Ref<BoolImage> > BoolSet;
72 
73 /*[10,1]*//* STRUCT -------------------------- RGBPixel */
74 struct RGBPixel
75 {
76  r_Char red;
77  r_Char green;
78  r_Char blue;
79 };
80 /*[11,37]*//* TYPEDEF ------------------------- RGBImage */
81 typedef r_Marray<RGBPixel/*[*:*,*:*]*/> RGBImage;
82 
83 /*[12,23]*//* TYPEDEF ------------------------- RGBSet */
84 typedef r_Set<r_Ref<RGBImage> > RGBSet;
85 
86 #endif
87 
r_Char red
Definition: basictypes.hh:62
r_Marray< r_Boolean > BoolImage
Definition: basictypes.hh:54
r_Marray< RGBPixel > RGBImage
Definition: basictypes.hh:67
r_Char green
Definition: basictypes.hh:63
Definition: basictypes.hh:60
r_Set< r_Ref< RGBImage > > RGBSet
Definition: basictypes.hh:70
r_Set< r_Ref< GreyImage > > GreySet
Definition: basictypes.hh:51
r_Marray< r_Char > GreyImage
Definition: basictypes.hh:48
r_Set< r_Ref< BoolImage > > BoolSet
Definition: basictypes.hh:57
r_Char blue
Definition: basictypes.hh:64