OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
HDF5Sequence.cc
Go to the documentation of this file.
1
// This file is part of hdf5_handler a HDF5 file handler for the OPeNDAP
2
// data server.
3
4
// Author: Hyo-Kyung Lee <hyoklee@hdfgroup.org> and Muqun Yang
5
// <myang6@hdfgroup.org>
6
7
// Copyright (c) 2009-2013 The HDF Group, Inc. and OPeNDAP, Inc.
8
//
9
// This is free software; you can redistribute it and/or modify it under the
10
// terms of the GNU Lesser General Public License as published by the Free
11
// Software Foundation; either version 2.1 of the License, or (at your
12
// option) any later version.
13
//
14
// This software is distributed in the hope that it will be useful, but
15
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17
// License for more details.
18
//
19
// You should have received a copy of the GNU Lesser General Public
20
// License along with this library; if not, write to the Free Software
21
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
//
23
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24
// You can contact The HDF Group, Inc. at 1800 South Oak Street,
25
// Suite 203, Champaign, IL 61820
34
35
36
#include "
config_hdf5.h
"
37
38
#include <string>
39
#include <ctype.h>
40
41
#include "
HDF5Sequence.h
"
42
#include "InternalErr.h"
43
44
BaseType *
HDF5Sequence::ptr_duplicate
()
45
{
46
return
new
HDF5Sequence
(*
this
);
47
}
48
49
50
HDF5Sequence::HDF5Sequence
(
const
string
& n,
const
string
&d) : Sequence(n, d)
51
{
52
ty_id = -1;
53
dset_id = -1;
54
}
55
56
HDF5Sequence::~HDF5Sequence
()
57
{
58
}
59
60
bool
HDF5Sequence::read
()
61
{
62
throw
InternalErr(__FILE__, __LINE__,
63
"HDF5Sequence::read(): Unimplemented method."
);
64
65
return
true
;
66
}
67
68
void
HDF5Sequence::set_did
(hid_t dset)
69
{
70
dset_id = dset;
71
}
72
73
void
HDF5Sequence::set_tid
(hid_t type)
74
{
75
ty_id = type;
76
}
77
78
hid_t
HDF5Sequence::get_did
()
79
{
80
return
dset_id;
81
}
82
83
hid_t
HDF5Sequence::get_tid
()
84
{
85
return
ty_id;
86
}
HDF5Sequence::set_tid
void set_tid(hid_t type)
Definition:
HDF5Sequence.cc:73
HDF5Sequence.h
A HDF5Sequence class. This class is not used in the current hdf5 handler and is provided to support D...
HDF5Sequence::get_did
hid_t get_did()
Definition:
HDF5Sequence.cc:78
HDF5Sequence::read
virtual bool read()
Definition:
HDF5Sequence.cc:60
HDF5Sequence::HDF5Sequence
HDF5Sequence(const string &n, const string &d)
Definition:
HDF5Sequence.cc:50
HDF5Sequence::~HDF5Sequence
virtual ~HDF5Sequence()
Definition:
HDF5Sequence.cc:56
HDF5Sequence::get_tid
hid_t get_tid()
Definition:
HDF5Sequence.cc:83
HDF5Sequence::set_did
void set_did(hid_t dset)
Definition:
HDF5Sequence.cc:68
HDF5Sequence::ptr_duplicate
virtual BaseType * ptr_duplicate()
Definition:
HDF5Sequence.cc:44
config_hdf5.h
modules
hdf5_handler
HDF5Sequence.cc
Generated by
1.8.9.1