bes  Updated for version 3.20.6
FFUrl.cc
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 // (c) COPYRIGHT URI/MIT 1997-99
27 // Please read the full copyright statement in the file COPYRIGHT.
28 //
29 // Authors: reza (Reza Nekovei)
30 
31 // FreeFrom sub-class implementation for FFByte,...FFGrid.
32 // The files are patterned after the subcalssing examples
33 // Test<type>.c,h files.
34 //
35 // ReZa 6/18/97
36 
37 #include "config_ff.h"
38 
39 static char rcsid[] not_used = {"$Id$"};
40 
41 
42 #include "InternalErr.h"
43 #include "FFUrl.h"
44 
45 FFUrl::FFUrl(const string &n, const string &d) : Url(n, d)
46 {
47 }
48 
49 BaseType *
50 FFUrl::ptr_duplicate()
51 {
52  return new FFUrl(*this);
53 }
54 
55 bool
56 FFUrl::read()
57 {
58  throw InternalErr(__FILE__, __LINE__, "Unimplemented read methods called.");
59 }
60 
61 // $Log: FFUrl.cc,v $
62 // Revision 1.6 2000/10/11 19:37:56 jimg
63 // Moved the CVS log entries to the end of files.
64 // Changed the definition of the read method to match the dap library.
65 // Added exception handling.
66 // Added exceptions to the read methods.
67 //
68 // Revision 1.5 1999/05/04 02:55:36 jimg
69 // Merge with no-gnu
70 //
71 // Revision 1.4 1999/03/26 20:03:31 jimg
72 // Added support for the Int16, UInt16 and Float32 datatypes
73 //
74 // Revision 1.3.12.1 1999/05/01 04:40:29 brent
75 // converted old String.h to the new std C++ <string> code
76 //
77 // Revision 1.3 1998/04/21 17:14:05 jimg
78 // Fixes for warnings, etc
79 //
80 // Revision 1.2 1998/04/16 18:11:21 jimg
81 // Sequence support added by Reza
82 
FFUrl
Definition: FFUrl.h:47