LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
fhicl::sequence_detail::ValueHolder< T > Class Template Reference

#include "Sequence.h"

Public Member Functions

 ValueHolder (std::initializer_list< T > list)
 
template<std::size_t N>
 ValueHolder (std::array< T, N > const &array)
 
auto begin () const noexcept
 
auto end () const noexcept
 
auto cbegin () const noexcept
 
auto cend () const noexcept
 

Private Attributes

std::vector< T > const holder_
 

Detailed Description

template<typename T>
class fhicl::sequence_detail::ValueHolder< T >

Definition at line 34 of file Sequence.h.

Constructor & Destructor Documentation

template<typename T >
fhicl::sequence_detail::ValueHolder< T >::ValueHolder ( std::initializer_list< T >  list)
inline

Definition at line 36 of file Sequence.h.

36 : holder_{list} {}
std::vector< T > const holder_
Definition: Sequence.h:65
template<typename T >
template<std::size_t N>
fhicl::sequence_detail::ValueHolder< T >::ValueHolder ( std::array< T, N > const &  array)
inline

Definition at line 39 of file Sequence.h.

40  : holder_(array.cbegin(), array.cend())
41  {}
std::vector< T > const holder_
Definition: Sequence.h:65

Member Function Documentation

template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::begin ( ) const
inlinenoexcept

Definition at line 44 of file Sequence.h.

References fhicl::sequence_detail::ValueHolder< T >::holder_.

45  {
46  return holder_.cbegin();
47  }
std::vector< T > const holder_
Definition: Sequence.h:65
template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::cbegin ( ) const
inlinenoexcept

Definition at line 54 of file Sequence.h.

References fhicl::sequence_detail::ValueHolder< T >::holder_.

55  {
56  return holder_.cbegin();
57  }
std::vector< T > const holder_
Definition: Sequence.h:65
template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::cend ( ) const
inlinenoexcept

Definition at line 59 of file Sequence.h.

References fhicl::sequence_detail::ValueHolder< T >::holder_.

60  {
61  return holder_.cend();
62  }
std::vector< T > const holder_
Definition: Sequence.h:65
template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::end ( void  ) const
inlinenoexcept

Definition at line 49 of file Sequence.h.

References fhicl::sequence_detail::ValueHolder< T >::holder_.

50  {
51  return holder_.cend();
52  }
std::vector< T > const holder_
Definition: Sequence.h:65

Member Data Documentation


The documentation for this class was generated from the following file: