libdap
Updated for version 3.17.0
|
00001 // -*- mode: c++; c-basic-offset:4 -*- 00002 00003 // This file is part of libdap, A C++ implementation of the OPeNDAP Data 00004 // Access Protocol. 00005 00006 // Copyright (c) 2013 OPeNDAP, Inc. 00007 // Author: James Gallagher <jgallagher@opendap.org> 00008 // 00009 // This library is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU Lesser General Public 00011 // License as published by the Free Software Foundation; either 00012 // version 2.1 of the License, or (at your option) any later version. 00013 // 00014 // This library is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 // Lesser General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU Lesser General Public 00020 // License along with this library; if not, write to the Free Software 00021 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 // 00023 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112. 00024 00025 #ifndef TYPE_H_ 00026 #define TYPE_H_ 00027 00028 namespace libdap { 00029 00048 enum Part { 00049 nil, // nil is for types that don't have parts... 00050 array, 00051 maps 00052 }; 00053 00094 enum Type { 00095 dods_null_c, 00096 dods_byte_c, 00097 dods_int16_c, 00098 dods_uint16_c, 00099 dods_int32_c, // Added `dods_' to fix clash with IRIX 5.3. 00100 dods_uint32_c, 00101 dods_float32_c, 00102 dods_float64_c, 00103 dods_str_c, 00104 dods_url_c, 00105 00106 dods_structure_c, 00107 dods_array_c, 00108 dods_sequence_c, 00109 00110 // Not used for DAP4 00111 dods_grid_c, 00112 00113 // Added for DAP4 00114 dods_char_c, // a synonym for UInt8 (and Byte) 00115 dods_int8_c, 00116 dods_uint8_c, 00117 00118 dods_int64_c, 00119 dods_uint64_c, 00120 dods_enum_c, 00121 dods_opaque_c, 00122 dods_group_c 00123 }; 00124 00125 } // namespace libdap 00126 00127 #endif /* TYPE_H_ */