3 #ifndef VISR_RBBL_INDEX_SEQUENCE_HPP_INCLUDED 4 #define VISR_RBBL_INDEX_SEQUENCE_HPP_INCLUDED 10 #include <initializer_list> 34 IndexSequence( std::initializer_list<IndexType>
const & val );
40 return mIndices.size();
53 ContainerType::const_iterator
begin()
const 55 return mIndices.begin();
58 ContainerType::const_iterator
end()
const 60 return mIndices.end();
65 return mIndices.begin();
68 ContainerType::iterator
end()
70 return mIndices.end();
94 return mIndices.at( idx );
102 return mIndices.at( idx );
119 #endif // VISR_RBBL_INDEX_SEQUENCE_HPP_INCLUDED std::vector< IndexType > ContainerType
Definition: index_sequence.hpp:27
ContainerType::iterator begin()
Definition: index_sequence.hpp:63
IndexType const * values() const
Definition: index_sequence.hpp:48
ContainerType::const_iterator end() const
Definition: index_sequence.hpp:58
Definition: index_sequence.hpp:22
std::size_t IndexType
Definition: index_sequence.hpp:25
IndexType & operator[](std::size_t idx)
Definition: index_sequence.hpp:76
ContainerType::iterator end()
Definition: index_sequence.hpp:68
std::size_t size() const
Definition: index_sequence.hpp:38
IndexType & at(std::size_t idx)
Definition: index_sequence.hpp:92
Definition: options.cpp:10
IndexType * values()
Definition: index_sequence.hpp:43
IndexType const & at(std::size_t idx) const
Definition: index_sequence.hpp:100
ContainerType::const_iterator begin() const
Definition: index_sequence.hpp:53
IndexType const & operator[](std::size_t idx) const
Definition: index_sequence.hpp:84