LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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
 
auto end () const
 
auto cbegin () const
 
auto cend () const
 

Private Attributes

std::vector< T > holder_
 

Detailed Description

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

Definition at line 33 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 35 of file Sequence.h.

35 : holder_{list} {}
template<typename T >
template<std::size_t N>
fhicl::sequence_detail::ValueHolder< T >::ValueHolder ( std::array< T, N > const &  array)
inline

Definition at line 38 of file Sequence.h.

39  : holder_(array.cbegin(), array.cend())
40  {}

Member Function Documentation

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

Definition at line 43 of file Sequence.h.

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

44  {
45  return holder_.cbegin();
46  }
template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::cbegin ( ) const
inline

Definition at line 53 of file Sequence.h.

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

54  {
55  return holder_.cbegin();
56  }
template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::cend ( ) const
inline

Definition at line 58 of file Sequence.h.

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

59  {
60  return holder_.cend();
61  }
template<typename T >
auto fhicl::sequence_detail::ValueHolder< T >::end ( void  ) const
inline

Definition at line 48 of file Sequence.h.

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

49  {
50  return holder_.cend();
51  }

Member Data Documentation


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