bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
FFD4Sequence.h
1
2// -*- mode: c++; c-basic-offset:4 -*-
3
4// This file is part of freeform_handler; a FreeForm API handler for the OPeNDAP
5// data server.
6
7// Copyright (c) 2014 OPeNDAP, Inc.
8// Author: James Gallagher <jgallagher@opendap.org>
9//
10// This library is free software; you can redistribute it and/or
11// modify it under the terms of the GNU Lesser General Public
12// License as published by the Free Software Foundation; either
13// version 2.1 of the License, or (at your option) any later version.
14//
15// This library is distributed in the hope that it will be useful,
16// but WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18// Lesser General Public License for more details.
19//
20// You should have received a copy of the GNU Lesser General Public
21// License along with this library; if not, write to the Free Software
22// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23//
24// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
25
26#ifndef _ffd4sequence_h
27#define _ffd4sequence_h 1
28
29#include <libdap/D4Sequence.h>
30
31using namespace libdap ;
32
33class FFD4Sequence: public D4Sequence {
34private:
35 string d_input_format_file;
36
37public:
38 FFD4Sequence(const string &name, const string &dataset, const string &iff)
39 : D4Sequence(name, dataset), d_input_format_file(iff) { }
40
41 virtual ~FFD4Sequence() { }
42
43 virtual BaseType *ptr_duplicate() {
44 return new FFD4Sequence(*this);
45 }
46
47 virtual bool read();
48
49 virtual void transfer_attributes(AttrTable *at);
50};
51
52#endif
virtual bool read()