DataTypes.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/ws/ogc/wcs/client/DataTypes.h
22 
23  \brief Specifies containers for WCS data types.
24 
25  \author Emerson Moraes
26 */
27 
28 #ifndef __TERRALIB_WS_OGC_WCS_DATATYPES_H
29 #define __TERRALIB_WS_OGC_WCS_DATATYPES_H
30 
31 #include "Config.h"
32 
33 namespace te
34 {
35  namespace ws
36  {
37  namespace ogc
38  {
39  namespace wcs
40  {
42  {
43  std::vector< std::string > operations;
44  std::vector< std::string > coverages;
45  };
46 
48  {
49  std::string axis;
50  std::string min;
51  std::string max;
52  };
53 
55  {
56  std::vector< SubSet > subSet;
57  };
58 
60  {
61  std::string srsName;
62  std::string srsDimension;
63  std::vector< std::string > uomLabels;
64 
65  std::string firstLabel;
66  std::string secondLabel;
67 
68  std::string lowerCorner_X;
69  std::string lowerCorner_Y;
70 
71  std::string upperCorner_X;
72  std::string upperCorner_Y;
73 
74  std::string timeLabel;
75  std::string beginPosition;
76  std::string endPosition;
77  };
78 
80  {
81  std::string coverageSubtype;
82  std::string coverageSubtypeParent;
83  std::string nativeFormat;
84  std::string extension;
85  };
86 
87 
88 
89  /*!
90  * \brief The TimeInstant GML 3.2.1 struct.
91  *
92  * TimeInstant acts as a zero-dimensional geometric primitive that represents
93  * an identifiable position in time.
94  *
95  */
97  {
98  std::string id;
99  std::string timePosition;
100  };
101 
102  /*!
103  * \brief The TimeDomain GeoServer WCS 2.0.1 struct.
104  *
105  * A TimeDomain is description of the time domain for the coverage.
106  * It is a GeoServer implementation that contains a sequence of
107  * gml:AbstractTimeObject.
108  *
109  */
111  {
112  std::string defaultTime;
113  std::vector<TimeInstant> timeInstant;
114  };
115 
117  {
118  std::string coverageId;
122  std::vector< std::string > fieldNames;
124  std::vector< std::string > extension;
125  };
126 
127 
128  /*! \brief A struct to set the parameters of requested coverage */
130  {
131  std::string coverageID;
132  std::string format;
133  std::string mediaType;
135  std::string time;
136  std::vector< SubSet > subSet;
137  std::map< std::string, std::string > additionalParameters;
138  };
139  }
140  }
141  }
142 }
143 
144 #endif //__TERRALIB_WS_OGC_WCS_DATATYPES_H
std::vector< std::string > uomLabels
Definition: DataTypes.h:63
std::vector< std::string > fieldNames
Definition: DataTypes.h:122
std::vector< std::string > coverages
Definition: DataTypes.h:44
The TimeDomain GeoServer WCS 2.0.1 struct.
Definition: DataTypes.h:110
std::vector< TimeInstant > timeInstant
Definition: DataTypes.h:113
std::map< std::string, std::string > additionalParameters
Definition: DataTypes.h:137
std::vector< SubSet > subSet
Definition: DataTypes.h:56
std::vector< std::string > extension
Definition: DataTypes.h:124
#define TEOGCWCSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:62
URI C++ Library.
std::vector< std::string > operations
Definition: DataTypes.h:43
EnvelopeWithTimePeriod envelope
Definition: DataTypes.h:134
Configuration flags for the Terrralib WS OGC WCS module.
A struct to set the parameters of requested coverage.
Definition: DataTypes.h:129
EnvelopeWithTimePeriod envelope
Definition: DataTypes.h:119
std::vector< SubSet > subSet
Definition: DataTypes.h:136
The TimeInstant GML 3.2.1 struct.
Definition: DataTypes.h:96