bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
DODS_StartDate_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 (jgallagher@gso.uri.edu)
32// dan Daniel Holloway (dholloway@gso.uri.edu)
33
34// $Log: DODS_StartDate_Factory.h,v $
35// Revision 1.3 2003/02/10 23:01:52 jimg
36// Merged with 3.2.5
37//
38// Revision 1.2.2.1 2002/01/22 02:19:35 jimg
39// Fixed bug 62. Users built fmt files that used types other than int32
40// for date and time components (e.g. int16). I fixed the factory classes
41// so that DODS_Date and DODS_Time objects will be built correctly when
42// any of the integer (or in the case of seconds, float) data types are
43// used. In so doing I also refactored the factory classes so that code
44// duplication was reduced (by using inhertiance).
45// Added two tests for the new capabilities (see date_time.1.exp, the last
46// two tests).
47//
48// Revision 1.2 2000/08/31 22:16:54 jimg
49// Merged with 3.1.7
50//
51// Revision 1.1.2.1 2000/05/01 20:11:17 dan
52// New server-side function to support date-range usage in time fields.
53//
54//
55
56#ifndef _dods_startdate_factory_h
57#define _dods_startdate_factory_h
58
59#include "DODS_Date.h"
60#include "DODS_Date_Factory.h"
61#include <libdap/DAS.h>
62#include <libdap/DDS.h>
63#include <libdap/BaseType.h>
64
71
72class DODS_StartDate_Factory : public DODS_Date_Factory {
73private:
74 DODS_StartDate_Factory() {} /* Prevent the creation of empty objects. */
75
76public:
77 virtual ~DODS_StartDate_Factory() {}
78
81
83
90
91 DODS_StartDate_Factory(DDS &dds) : DODS_Date_Factory(dds, "DODS_StartDate") {}
93};
94
95#endif // _dods_startdate_factory_h
96
97
98
99
100
101
102
103
104