Public Member Functions | Private Attributes | List of all members
fhicl::sequence_detail::ValueHolder< T > Class Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/fhiclcpp/v4_06_10/source/fhiclcpp/types/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< Tholder_
 

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.

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

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

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