libdap Updated for version 3.20.11
libdap4 is an implementation of OPeNDAP's DAP protocol.
Ancillary.h
1// Ancillary.h
2
3// -*- mode: c++; c-basic-offset:4 -*-
4
5// This file is part of libdap, A C++ implementation of the OPeNDAP Data
6// Access Protocol.
7
8// Copyright (c) 2002,2003 OPeNDAP, Inc.
9// Author: James Gallagher <jgallagher@opendap.org>
10// Patrick West <pwest@opendap.org>
11//
12// This library is free software; you can redistribute it and/or
13// modify it under the terms of the GNU Lesser General Public
14// License as published by the Free Software Foundation; either
15// version 2.1 of the License, or (at your option) any later version.
16//
17// This library is distributed in the hope that it will be useful,
18// but WITHOUT ANY WARRANTY; without even the implied warranty of
19// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20// Lesser General Public License for more details.
21//
22// You should have received a copy of the GNU Lesser General Public
23// License along with this library; if not, write to the Free Software
24// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25//
26// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
27
28// (c) COPYRIGHT URI/MIT 1994-1999
29// Please read the full copyright statement in the file COPYRIGHT_URI.
30//
31// Authors:
32// jhrg,jimg James Gallagher <jgallagher@gso.uri.edu>
33// pwest Patrick West <pwest@opendap.org>
34
35#ifndef S_Ancillary_h
36#define S_Ancillary_h 1
37
38#include <string>
39
40#include "DAS.h"
41#include "DDS.h"
42
43namespace libdap
44{
45
47{
48public:
49 static string find_ancillary_file( const string &pathname,
50 const string &ext,
51 const string &dir,
52 const string &file ) ;
53
54 static string find_group_ancillary_file( const string &pathname,
55 const string &ext ) ;
56
57 static void read_ancillary_das( DAS &das,
58 const string &pathname,
59 const string &dir = "",
60 const string &file = "" ) ;
61
62 static void read_ancillary_dds( DDS &dds,
63 const string &pathname,
64 const string &dir = "",
65 const string &file = "" ) ;
66} ;
67
68} // namespace libdap
69
70#endif // S_Ancillary_h
71
static string find_group_ancillary_file(const string &pathname, const string &ext)
Definition: Ancillary.cc:138
static string find_ancillary_file(const string &pathname, const string &ext, const string &dir, const string &file)
Find a file with ancillary data.
Definition: Ancillary.cc:69
Hold attribute data for a DAP2 dataset.
Definition: DAS.h:122
top level DAP object to house generic methods
Definition: AlarmHandler.h:36