libpniio
hdf5_utilities.hpp
Go to the documentation of this file.
1 //
2 // (c) Copyright 2013 DESY, Eugen Wintersberger <eugen.wintersberger@desy.de>
3 //
4 // This file is part of libpniio.
5 //
6 // libpniio is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation, either version 2 of the License, or
9 // (at your option) any later version.
10 //
11 // libpniio is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with libpniio. If not, see <http://www.gnu.org/licenses/>.
18 // ===========================================================================
19 //
20 // Created on: Aug 20, 2013
21 // Author: Eugen Wintersberger <eugen.wintersberger@desy.de>
22 //
23 
24 extern "C" {
25 #include <hdf5.h>
26 }
27 
28 #include <pni/core/types.hpp>
29 
30 namespace pni{
31 namespace io{
32 namespace nx{
33 namespace h5{
34 
35  class object_imp;
36 
37  //------------------------------------------------------------------------
56  pni::core::string get_filename(const object_imp &object);
57 
58  //-------------------------------------------------------------------------
76  pni::core::string get_path(const object_imp &object);
77 
78  //------------------------------------------------------------------------
97  pni::core::string get_name(const object_imp &obj);
98 
99  //------------------------------------------------------------------------
117  pni::core::string get_parent_path(const object_imp &object);
118 
119  //------------------------------------------------------------------------
137  object_imp get_parent(const object_imp &obj);
138 
139 
140 //end of namespace
141 }
142 }
143 }
144 }
pni::core::string get_filename(const object_imp &object)
get object filename
Definition: hdf5_utilities.cpp:39
object_imp get_parent(const object_imp &obj)
return the parent object
Definition: hdf5_utilities.cpp:180
Definition: cbf_reader.hpp:41
pni::core::string get_path(const object_imp &object)
get object path
Definition: hdf5_utilities.cpp:66
pni::core::string get_parent_path(const object_imp &object)
get parent path
Definition: hdf5_utilities.cpp:138
pni::core::string get_name(const object_imp &obj)
return object name
Definition: hdf5_utilities.cpp:128