Project
Loading...
Searching...
No Matches
VariantPropertyTreeHelpers.cxx
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
13
14template boost::property_tree::ptree o2::framework::basicVectorToBranch(std::vector<float>&& values);
15template boost::property_tree::ptree o2::framework::basicVectorToBranch(std::vector<int>&& values);
16template boost::property_tree::ptree o2::framework::basicVectorToBranch(std::vector<double>&& values);
17template boost::property_tree::ptree o2::framework::basicVectorToBranch(std::vector<std::string>&& values);
18template boost::property_tree::ptree o2::framework::basicVectorToBranch(float*, size_t);
19template boost::property_tree::ptree o2::framework::basicVectorToBranch(int*, size_t);
20template boost::property_tree::ptree o2::framework::basicVectorToBranch(double*, size_t);
21template boost::property_tree::ptree o2::framework::basicVectorToBranch(bool*, size_t);
22template boost::property_tree::ptree o2::framework::basicVectorToBranch(std::basic_string<char>*, size_t);
23
24template boost::property_tree::ptree o2::framework::vectorToBranch(std::vector<float>&& values);
25template boost::property_tree::ptree o2::framework::vectorToBranch(std::vector<int>&& values);
26template boost::property_tree::ptree o2::framework::vectorToBranch(std::vector<double>&& values);
27template boost::property_tree::ptree o2::framework::vectorToBranch(std::vector<std::string>&& values);
28template boost::property_tree::ptree o2::framework::vectorToBranch(float*, size_t);
29template boost::property_tree::ptree o2::framework::vectorToBranch(int*, size_t);
30template boost::property_tree::ptree o2::framework::vectorToBranch(double*, size_t);
31template boost::property_tree::ptree o2::framework::vectorToBranch(bool*, size_t);
32template boost::property_tree::ptree o2::framework::vectorToBranch(std::basic_string<char>*, size_t);
33
38
39template std::vector<float> o2::framework::basicVectorFromBranch<float>(boost::property_tree::ptree const& tree);
40template std::vector<int> o2::framework::basicVectorFromBranch<int>(boost::property_tree::ptree const& tree);
41template std::vector<std::basic_string<char>> o2::framework::basicVectorFromBranch<std::basic_string<char>>(boost::property_tree::ptree const& tree);
42template std::vector<double> o2::framework::basicVectorFromBranch<double>(boost::property_tree::ptree const& tree);
43
44template o2::framework::LabeledArray<float> o2::framework::labeledArrayFromBranch<float>(boost::property_tree::ptree const& tree);
45template o2::framework::LabeledArray<int> o2::framework::labeledArrayFromBranch<int>(boost::property_tree::ptree const& tree);
46template o2::framework::LabeledArray<std::string> o2::framework::labeledArrayFromBranch<std::string>(boost::property_tree::ptree const& tree);
47template o2::framework::LabeledArray<double> o2::framework::labeledArrayFromBranch<double>(boost::property_tree::ptree const& tree);
48
49template o2::framework::Array2D<float> o2::framework::array2DFromBranch<float>(boost::property_tree::ptree const& tree);
50template o2::framework::Array2D<int> o2::framework::array2DFromBranch<int>(boost::property_tree::ptree const& tree);
51template o2::framework::Array2D<std::string> o2::framework::array2DFromBranch<std::string>(boost::property_tree::ptree const& tree);
52template o2::framework::Array2D<double> o2::framework::array2DFromBranch<double>(boost::property_tree::ptree const& tree);
53
54template boost::property_tree::ptree o2::framework::array2DToBranch(o2::framework::Array2D<float>&& array);
55template boost::property_tree::ptree o2::framework::array2DToBranch(o2::framework::Array2D<int>&& array);
56template boost::property_tree::ptree o2::framework::array2DToBranch(o2::framework::Array2D<double>&& array);
GLenum array
Definition glcorearb.h:4274
GLenum GLsizei GLsizei GLint * values
Definition glcorearb.h:1576
boost::property_tree::ptree labeledArrayToBranch(LabeledArray< T > &&array)
boost::property_tree::ptree basicVectorToBranch(T *values, size_t size)
boost::property_tree::ptree vectorToBranch(T *values, size_t size)
boost::property_tree::ptree array2DToBranch(Array2D< T > &&array)
std::unique_ptr< TTree > tree((TTree *) flIn.Get(std::string(o2::base::NameConf::CTFTREENAME).c_str()))