bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
d4_tools.h
1// d4_tools.h
2
3// This file is part of BES Netcdf File Out Module
4
5// Copyright (c) 2004,2005 University Corporation for Atmospheric Research
6// Author: Patrick West <pwest@ucar.edu> and Jose Garcia <jgarcia@ucar.edu>
7//
8// This library is free software; you can redistribute it and/or
9// modify it under the terms of the GNU Lesser General Public
10// License as published by the Free Software Foundation; either
11// version 2.1 of the License, or (at your option) any later version.
12//
13// This library is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16// Lesser General Public License for more details.
17//
18// You should have received a copy of the GNU Lesser General Public
19// License along with this library; if not, write to the Free Software
20// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21//
22// You can contact University Corporation for Atmospheric Research at
23// 3080 Center Green Drive, Boulder, CO 80301
24
25// (c) COPYRIGHT University Corporation for Atmospheric Research 2004-2005
26// Please read the full copyright statement in the file COPYRIGHT_UCAR.
27//
28// Authors:
29// slloyd Samuel Lloyd <slloyd@opendap.org>
30
31#ifndef d4_tools_h_
32#define d4_tools_h_ 1
33
34#include <string>
35#include <vector>
36#include <map>
37#include <set>
38
39#include <BESObj.h>
40
41namespace libdap {
42 class DDS;
43 class DMR;
44 class D4Group;
45 class D4Attribute;
46 class D4Attributes;
47 class BaseType;
48}
49
50namespace d4_tools {
51 bool is_dap4_projected(libdap::DDS *_dds, std::vector<libdap::BaseType *> &projected_dap4_variable_inventory);
52 bool is_dap4_projected(libdap::DMR *_dmr, std::vector<libdap::BaseType *> &projected_dap4_variable_inventory);
53 bool is_dap4_projected(libdap::BaseType *var, std::vector<libdap::BaseType *> &inv);
54 bool is_dap4_projected(libdap::D4Group *group, std::vector<libdap::BaseType *> &projected_dap4_variable_inventory);
55 bool has_dap4_types(libdap::D4Attribute *attr);
56 bool has_dap4_types(const libdap::D4Attributes *attrs);
57};
58
59#endif // d4_tools_h_