LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ParameterSet.h File Reference
#include "cetlib_except/demangle.h"
#include "fhiclcpp/ParameterSetID.h"
#include "fhiclcpp/coding.h"
#include "fhiclcpp/detail/ParameterSetImplHelpers.h"
#include "fhiclcpp/detail/encode_extended_value.h"
#include "fhiclcpp/detail/print_mode.h"
#include "fhiclcpp/detail/try_blocks.h"
#include "fhiclcpp/exception.h"
#include "fhiclcpp/fwd.h"
#include <any>
#include <functional>
#include <map>
#include <optional>
#include <sstream>
#include <string>
#include <typeinfo>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

class  fhicl::ParameterSet
 

Namespaces

 cetlib
 
 fhicl
 parameter set interface
 

Macros

#define _DECODE_ATOM_(T)   void fhicl::detail::decode<T>(std::any const&, T&)
 
#define _DECODE_SEQUENCE_(T)    void fhicl::detail::decode<T::value_type>(std::any const&, T&)
 
#define _GET_ONE_(T)    std::optional<T> fhicl::ParameterSet::get_one_<T>(std::string const&) const
 
#define _GET(T)   T fhicl::ParameterSet::get<T>(std::string const&) const
 
#define _GET_WITH_DEFAULT(T)    T fhicl::ParameterSet::get<T>(std::string const&, T const&) const
 
#define _GET_IF_PRESENT(T)
 
#define _EXTERN_INSTANTIATE_GET(FHICL_TYPE, T)
 

Functions

 _EXTERN_INSTANTIATE_GET (ATOM, bool)
 
 _EXTERN_INSTANTIATE_GET (ATOM, int)
 
 _EXTERN_INSTANTIATE_GET (ATOM, unsigned)
 
 _EXTERN_INSTANTIATE_GET (ATOM, float)
 
 _EXTERN_INSTANTIATE_GET (ATOM, double)
 
 _EXTERN_INSTANTIATE_GET (ATOM, std::string)
 
 _EXTERN_INSTANTIATE_GET (ATOM, fhicl::ParameterSet)
 
 _EXTERN_INSTANTIATE_GET (SEQUENCE, std::vector< int >)
 
 _EXTERN_INSTANTIATE_GET (SEQUENCE, std::vector< unsigned >)
 
 _EXTERN_INSTANTIATE_GET (SEQUENCE, std::vector< float >)
 
 _EXTERN_INSTANTIATE_GET (SEQUENCE, std::vector< double >)
 
 _EXTERN_INSTANTIATE_GET (SEQUENCE, std::vector< std::string >)
 
 _EXTERN_INSTANTIATE_GET (SEQUENCE, std::vector< fhicl::ParameterSet >)
 

Macro Definition Documentation

#define _DECODE_ATOM_ (   T)    void fhicl::detail::decode<T>(std::any const&, T&)

Definition at line 153 of file ParameterSet.h.

#define _DECODE_SEQUENCE_ (   T)    void fhicl::detail::decode<T::value_type>(std::any const&, T&)

Definition at line 155 of file ParameterSet.h.

#define _EXTERN_INSTANTIATE_GET (   FHICL_TYPE,
 
)
Value:
extern template _DECODE_##FHICL_TYPE##_(T); \
extern template _GET_ONE_(T); \
extern template _GET(T); \
extern template _GET_WITH_DEFAULT(T); \
extern template _GET_IF_PRESENT(T)
#define _GET(T)
Definition: ParameterSet.h:161
#define _GET_WITH_DEFAULT(T)
Definition: ParameterSet.h:163
#define _GET_ONE_(T)
Definition: ParameterSet.h:158
#define _GET_IF_PRESENT(T)
Definition: ParameterSet.h:166

Definition at line 170 of file ParameterSet.h.

#define _GET (   T)    T fhicl::ParameterSet::get<T>(std::string const&) const

Definition at line 161 of file ParameterSet.h.

#define _GET_IF_PRESENT (   T)
Value:
std::optional<T> fhicl::ParameterSet::get_if_present<T>(std::string const&) \
const

Definition at line 166 of file ParameterSet.h.

#define _GET_ONE_ (   T)    std::optional<T> fhicl::ParameterSet::get_one_<T>(std::string const&) const

Definition at line 158 of file ParameterSet.h.

#define _GET_WITH_DEFAULT (   T)    T fhicl::ParameterSet::get<T>(std::string const&, T const&) const

Definition at line 163 of file ParameterSet.h.

Function Documentation

_EXTERN_INSTANTIATE_GET ( ATOM  ,
bool   
)
_EXTERN_INSTANTIATE_GET ( ATOM  ,
int   
)
_EXTERN_INSTANTIATE_GET ( ATOM  ,
unsigned   
)
_EXTERN_INSTANTIATE_GET ( ATOM  ,
float   
)
_EXTERN_INSTANTIATE_GET ( ATOM  ,
double   
)
_EXTERN_INSTANTIATE_GET ( ATOM  ,
std::string   
)
_EXTERN_INSTANTIATE_GET ( ATOM  ,
fhicl::ParameterSet   
)
_EXTERN_INSTANTIATE_GET ( SEQUENCE  ,
std::vector< int >   
)
_EXTERN_INSTANTIATE_GET ( SEQUENCE  ,
std::vector< unsigned >   
)
_EXTERN_INSTANTIATE_GET ( SEQUENCE  ,
std::vector< float >   
)
_EXTERN_INSTANTIATE_GET ( SEQUENCE  ,
std::vector< double >   
)
_EXTERN_INSTANTIATE_GET ( SEQUENCE  ,
std::vector< std::string >   
)
_EXTERN_INSTANTIATE_GET ( SEQUENCE  ,
std::vector< fhicl::ParameterSet  
)