Helper to return a converted sequence from FHiCL configuration. More...
#include <FHiCLutils.h>
Public Member Functions | |
SequenceWrapper (SeqValueType seqValue) | |
template<typename T > | |
operator std::vector< T > () const | |
Public Attributes | |
SeqValueType | seqValue |
Helper to return a converted sequence from FHiCL configuration.
SeqValueType | type of the sequence value being extracted |
This class can be used to apply implicit conversion of a fhicl::Sequence
of objects into a std::vector
of another type, as sometimes fhicl::Sequence
does not support the desired type directly. For example:
Definition at line 67 of file FHiCLutils.h.
|
inline |
Definition at line 176 of file FHiCLutils.h.
|
inline |
Definition at line 179 of file FHiCLutils.h.
SeqValueType util::fhicl::SequenceWrapper< SeqValueType >::seqValue |
Definition at line 174 of file FHiCLutils.h.