Public Member Functions | Private Attributes | List of all members
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.

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.

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.

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 ( ) const
inlinenoexcept

Definition at line 49 of file Sequence.h.

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

Member Data Documentation

template<typename T >
std::vector<T> const fhicl::sequence_detail::ValueHolder< T >::holder_
private

Definition at line 65 of file Sequence.h.


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