hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Index< T, seq_t > Class Template Reference

Provides a view of some elements of a Sequence identified by a sequence of indices. More...

#include <Sequences.hpp>

Inheritance diagram for hexed::Index< T, seq_t >:
hexed::Sequence< T >

Public Member Functions

 Index (Sequence< T > &seq, seq_t inds)
 
int size ()
 
operator[] (int index)
 

Detailed Description

template<typename T, typename seq_t = std::vector<int>>
class hexed::Index< T, seq_t >

Provides a view of some elements of a Sequence identified by a sequence of indices.

Member Function Documentation

◆ operator[]()

template<typename T , typename seq_t = std::vector<int>>
T hexed::Index< T, seq_t >::operator[] ( int index)
inlinevirtual

Implements hexed::Sequence< T >.

◆ size()

template<typename T , typename seq_t = std::vector<int>>
int hexed::Index< T, seq_t >::size ( )
inlinevirtual

Implements hexed::Sequence< T >.


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