Project
Loading...
Searching...
No Matches
SimpleOptionsRetriever.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
14
15#include "PropertyTreeHelpers.h"
16
17#include <boost/property_tree/ptree.hpp>
18
19#include <string>
20#include <vector>
21#include <cstdlib>
22#include <cstring>
23
24using namespace o2::framework;
25namespace bpo = boost::program_options;
26
27namespace o2::framework
28{
29
30void SimpleOptionsRetriever::update(std::vector<ConfigParamSpec> const& schema,
31 boost::property_tree::ptree& store,
32 boost::property_tree::ptree& provenance)
33{
34 PropertyTreeHelpers::populate(schema, store, mTree, provenance, mProvenanceLabel);
35}
36
37} // namespace o2::framework
void update(std::vector< ConfigParamSpec > const &specs, boost::property_tree::ptree &store, boost::property_tree::ptree &provenance) override
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
static void populate(std::vector< ConfigParamSpec > const &schema, boost::property_tree::ptree &tree, boost::program_options::variables_map const &vmap, boost::property_tree::ptree &provenance)