libpniio
algorithms/utils.hpp
Go to the documentation of this file.
1 //
2 // (c) Copyright 2014 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, 2014
21 // Author: Eugen Wintersberger <eugen.wintersberger@desy.de>
22 //
23 #pragma once
24 
25 #include <pni/core/types.hpp>
26 
27 namespace pni{
28 namespace io{
29 namespace nx{
30 
31  //forward declaration of path
32  class nxpath;
33 
44  nxpath get_path(const nxpath &p) noexcept;
45 
46  //------------------------------------------------------------------------
58  nxpath get_path(const pni::core::string &p);
59 
60  //------------------------------------------------------------------------
74  nxpath get_attribute_path(const pni::core::string &p);
75 
76  //------------------------------------------------------------------------
87  nxpath get_attribute_path(const nxpath &p) noexcept;
88 
89 
90 //end of namespace
91 }
92 }
93 }
Definition: cbf_reader.hpp:41
nxpath get_attribute_path(const pni::core::string &p)
get attribute path
Definition: algorithms/utils.cpp:49
pni::core::string get_path(const OTYPE< IMPID > &o)
get object path
Definition: get_path.hpp:59