libpniio
scalar_format.hpp
Go to the documentation of this file.
1 //
2 // (c) Copyright 2015 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: Sep 08, 2015
21 // Author: Eugen Wintersberger <eugen.wintersberger@desy.de>
22 //
23 //
24 #pragma once
25 
26 #include <pni/core/types.hpp>
27 #include <pni/core/type_erasures.hpp>
28 
29 
30 namespace pni{
31 namespace io{
32 
33 
34  pni::core::string format(pni::core::uint8 v);
35  pni::core::string format(pni::core::int8 v);
36  pni::core::string format(pni::core::uint16 v);
37  pni::core::string format(pni::core::int16 v);
38  pni::core::string format(pni::core::uint32 v);
39  pni::core::string format(pni::core::int32 v);
40  pni::core::string format(pni::core::uint64 v);
41  pni::core::string format(pni::core::int64 v);
42 
43  pni::core::string format(pni::core::float32 v);
44  pni::core::string format(pni::core::float64 v);
45  pni::core::string format(pni::core::float128 v);
46 
47  pni::core::string format(pni::core::complex32 v);
48  pni::core::string format(pni::core::complex64 v);
49  pni::core::string format(pni::core::complex128 v);
50 
51  pni::core::string format(pni::core::bool_t v);
52  pni::core::string format(const pni::core::string &s);
53 
54  pni::core::string format(const pni::core::value &v);
55  pni::core::string format(const pni::core::value_ref &v);
56 
57 }
58 }
59 
Definition: cbf_reader.hpp:41
pni::core::string format(pni::core::uint8 v)