Blame Ancillary.h

Packit a4aae4
// Ancillary.h
Packit a4aae4
Packit a4aae4
// -*- mode: c++; c-basic-offset:4 -*-
Packit a4aae4
Packit a4aae4
// This file is part of libdap, A C++ implementation of the OPeNDAP Data
Packit a4aae4
// Access Protocol.
Packit a4aae4
Packit a4aae4
// Copyright (c) 2002,2003 OPeNDAP, Inc.
Packit a4aae4
// Author: James Gallagher <jgallagher@opendap.org>
Packit a4aae4
//         Patrick West <pwest@opendap.org>
Packit a4aae4
//
Packit a4aae4
// This library is free software; you can redistribute it and/or
Packit a4aae4
// modify it under the terms of the GNU Lesser General Public
Packit a4aae4
// License as published by the Free Software Foundation; either
Packit a4aae4
// version 2.1 of the License, or (at your option) any later version.
Packit a4aae4
//
Packit a4aae4
// This library is distributed in the hope that it will be useful,
Packit a4aae4
// but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit a4aae4
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit a4aae4
// Lesser General Public License for more details.
Packit a4aae4
//
Packit a4aae4
// You should have received a copy of the GNU Lesser General Public
Packit a4aae4
// License along with this library; if not, write to the Free Software
Packit a4aae4
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit a4aae4
//
Packit a4aae4
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
Packit a4aae4
Packit a4aae4
// (c) COPYRIGHT URI/MIT 1994-1999
Packit a4aae4
// Please read the full copyright statement in the file COPYRIGHT_URI.
Packit a4aae4
//
Packit a4aae4
// Authors:
Packit a4aae4
//      jhrg,jimg       James Gallagher <jgallagher@gso.uri.edu>
Packit a4aae4
//      pwest           Patrick West <pwest@opendap.org>
Packit a4aae4
Packit a4aae4
#ifndef S_Ancillary_h
Packit a4aae4
#define S_Ancillary_h 1
Packit a4aae4
Packit a4aae4
#include <string>
Packit a4aae4
Packit a4aae4
using std::string ;
Packit a4aae4
Packit a4aae4
#include "DAS.h"
Packit a4aae4
#include "DDS.h"
Packit a4aae4
Packit a4aae4
namespace libdap
Packit a4aae4
{
Packit a4aae4
Packit a4aae4
class Ancillary
Packit a4aae4
{
Packit a4aae4
public:
Packit a4aae4
    static string	find_ancillary_file( const string &pathname,
Packit a4aae4
					     const string &ext,
Packit a4aae4
					     const string &dir,
Packit a4aae4
					     const string &file ) ;
Packit a4aae4
Packit a4aae4
    static string	find_group_ancillary_file( const string &pathname,
Packit a4aae4
						   const string &ext ) ;
Packit a4aae4
Packit a4aae4
    static void		read_ancillary_das( DAS &das,
Packit a4aae4
					    const string &pathname,
Packit a4aae4
					    const string &dir = "",
Packit a4aae4
					    const string &file = "" ) ;
Packit a4aae4
Packit a4aae4
    static void		read_ancillary_dds( DDS &dds,
Packit a4aae4
					    const string &pathname,
Packit a4aae4
					    const string &dir = "",
Packit a4aae4
					    const string &file = "" ) ;
Packit a4aae4
} ;
Packit a4aae4
Packit a4aae4
} // namespace libdap
Packit a4aae4
Packit a4aae4
#endif // S_Ancillary_h
Packit a4aae4