bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
DODS_EndDate_Factory.h
1
2// -*- mode: c++; c-basic-offset:4 -*-
3
4// This file is part of ff_handler a FreeForm API handler for the OPeNDAP
5// DAP2 data server.
6
7// Copyright (c) 2005 OPeNDAP, Inc.
8// Author: James Gallagher <jgallagher@opendap.org>
9//
10// This is free software; you can redistribute it and/or modify it under the
11// terms of the GNU Lesser General Public License as published by the Free
12// Software Foundation; either version 2.1 of the License, or (at your
13// option) any later version.
14//
15// This software is distributed in the hope that it will be useful, but
16// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18// 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23//
24// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
25
26
27// (c) COPYRIGHT URI/MIT 1998
28// Please read the full copyright statement in the file COPYRIGHT.
29//
30// Authors:
31// jhrg,jimg James Gallagher (jgallager@gso.uri.edu)
32// dan Daniel Holloway (dholloway@gso.uri.edu)
33
34#ifndef _dods_enddate_factory_h
35#define _dods_enddate_factory_h
36
37#include "DODS_Date.h"
38#include "DODS_Date_Factory.h"
39#include <libdap/DAS.h>
40#include <libdap/DDS.h>
41#include <libdap/BaseType.h>
42
49
50class DODS_EndDate_Factory : public DODS_Date_Factory {
51private:
52 DODS_EndDate_Factory() {} /* Prevent the creation of empty objects. */
53
54public:
55 virtual ~DODS_EndDate_Factory() {}
56
59
61
68
69 DODS_EndDate_Factory(DDS &dds) : DODS_Date_Factory(dds, "DODS_EndDate") {}
71};
72
73// $Log: DODS_EndDate_Factory.h,v $
74// Revision 1.4 2003/02/10 23:01:52 jimg
75// Merged with 3.2.5
76//
77// Revision 1.3.2.1 2002/01/22 02:19:35 jimg
78// Fixed bug 62. Users built fmt files that used types other than int32
79// for date and time components (e.g. int16). I fixed the factory classes
80// so that DODS_Date and DODS_Time objects will be built correctly when
81// any of the integer (or in the case of seconds, float) data types are
82// used. In so doing I also refactored the factory classes so that code
83// duplication was reduced (by using inhertiance).
84// Added two tests for the new capabilities (see date_time.1.exp, the last
85// two tests).
86//
87// Revision 1.3 2000/10/11 19:37:55 jimg
88// Moved the CVS log entries to the end of files.
89// Changed the definition of the read method to match the dap library.
90// Added exception handling.
91// Added exceptions to the read methods.
92//
93// Revision 1.2 2000/08/31 22:16:53 jimg
94// Merged with 3.1.7
95//
96// Revision 1.1.2.1 2000/05/01 21:25:28 dan
97// New server-side function to support date-range usage in time fields.
98//
99//
100
101#endif // _dods_enddate_factory_h