libdap  Updated for version 3.20.6
libdap4 is an implementation of OPeNDAP's DAP protocol.
D4AttributeType.h
1 // -*- mode: c++; c-basic-offset:4 -*-
2 
3 // This file is part of libdap, A C++ implementation of the OPeNDAP Data
4 // Access Protocol.
5 
6 // Copyright (c) 2013 OPeNDAP, Inc.
7 // Author: James Gallagher <jgallagher@opendap.org>
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Lesser General Public
11 // License as published by the Free Software Foundation; either
12 // version 2.1 of the License, or (at your option) any later version.
13 //
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Lesser General Public License for more details.
18 //
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 //
23 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24 
25 #ifndef d4attributetype_h
26 #define d4attributetype_h
27 
33 enum D4AttributeType {
34  attr_null_c,
35 
36  attr_byte_c,
37  attr_int16_c,
38  attr_uint16_c,
39  attr_int32_c, // Added `attr_' to fix clash with IRIX 5.3.
40  attr_uint32_c,
41  attr_float32_c,
42  attr_float64_c,
43  attr_str_c,
44  attr_url_c,
45 
46  // Added for DAP4
47  attr_int8_c,
48  attr_uint8_c,
49 
50  attr_int64_c,
51  attr_uint64_c,
52 
53 #if 0
54  // just use attr_url_c. jhrg 8/15/13
55  attr_url4_c,
56 #endif
57 
58  attr_enum_c,
59  attr_opaque_c,
60 
61  // These are specific to attributes while the other types are
62  // also supported by the variables. jhrg 4/17/13
63  attr_container_c,
64  attr_otherxml_c
65 };
66 
67 #endif /* d4attributetype_h */