Project
Loading...
Searching...
No Matches
ConfigurableParam.cxx File Reference
#include "CommonUtils/ConfigurableParam.h"
#include <cstddef>
#include "CommonUtils/ConfigurableParamHelper.h"
#include "CommonUtils/StringUtils.h"
#include "CommonUtils/KeyValParam.h"
#include "CommonUtils/ConfigurableParamReaders.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/tokenizer.hpp>
#include <boost/lexical_cast.hpp>
#include <algorithm>
#include <array>
#include <cctype>
#include <cstdlib>
#include <functional>
#include <iomanip>
#include <limits>
#include <utility>
#include <cassert>
#include <iostream>
#include <string>
#include <fairlogger/Logger.h>
#include <typeindex>
#include <typeinfo>
#include "TDataMember.h"
#include "TDataType.h"
#include "TFile.h"
#include "TEnum.h"
#include "TEnumConstant.h"
#include <filesystem>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <deque>
#include <vector>
#include <list>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::conf
 

Macros

#define BOOST_BIND_GLOBAL_PLACEHOLDERS
 
#define REGISTER_SCALAR_NAME(TYPE, NAME)
 

Functions

std::ostream & o2::conf::operator<< (std::ostream &out, ConfigurableParam const &param)
 
bool o2::conf::keyInTree (boost::property_tree::ptree *pt, const std::string &key)
 
std::string o2::conf::getLiteralSuffixFromType (const std::type_info &type)
 
void o2::conf::unsupp ()
 
template<typename T >
bool o2::conf::isMemblockDifferent (void const *block1, void const *block2)
 
template<typename T >
ConfigurableParam::EParamUpdateStatus o2::conf::Copy (void const *addr, void *targetaddr)
 
template<typename T >
ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy (std::string const &valuestring, void *targetaddr)
 
template<>
ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy< std::string > (std::string const &valuestring, void *targetaddr)
 
template<>
ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy< char > (std::string const &valuestring, void *targetaddr)
 
template<>
ConfigurableParam::EParamUpdateStatus o2::conf::ConvertAndCopy< unsigned char > (std::string const &valuestring, void *targetaddr)
 

Macro Definition Documentation

◆ BOOST_BIND_GLOBAL_PLACEHOLDERS

#define BOOST_BIND_GLOBAL_PLACEHOLDERS

Definition at line 20 of file ConfigurableParam.cxx.

◆ REGISTER_SCALAR_NAME

#define REGISTER_SCALAR_NAME (   TYPE,
  NAME 
)
Value:
template <> \
struct TypeName<TYPE> { \
static constexpr const char* value = NAME; \
}
GLsizei const GLfloat * value
Definition glcorearb.h:819

Definition at line 186 of file ConfigurableParam.cxx.

Variable Documentation

◆ assign

std::function<void(void*, const void*)> assign

Definition at line 130 of file ConfigurableParam.cxx.

◆ byName

std::map<std::string, ContainerHandler> byName

Definition at line 135 of file ConfigurableParam.cxx.

◆ byType

std::map<std::type_index, ContainerHandler> byType

Definition at line 136 of file ConfigurableParam.cxx.

◆ equal

std::function<bool(const void*, const void*)> equal

Definition at line 131 of file ConfigurableParam.cxx.

◆ parseAssign

std::function<void(void*, const std::string&)> parseAssign

Definition at line 128 of file ConfigurableParam.cxx.

◆ serialize

std::function<std::string(const void*)> serialize

Definition at line 129 of file ConfigurableParam.cxx.