SDSL 3.0.2
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::random_access_container< t_F > Struct Template Reference

#include <iterators.hpp>

Public Types

typedef int_vector ::size_type size_type
 
typedef int_vector ::difference_type difference_type
 
typedef std::invoke_result_t< t_F, size_typevalue_type
 
typedef random_access_const_iterator< random_access_containeriterator_type
 

Public Member Functions

 random_access_container ()
 
 random_access_container (t_F ff, size_type size)
 
value_type operator[] (size_type i) const
 
size_type size () const
 
iterator_type begin () const
 
iterator_type end () const
 

Public Attributes

t_F f
 
size_type m_size
 

Detailed Description

template<typename t_F>
struct sdsl::random_access_container< t_F >

Definition at line 165 of file iterators.hpp.

Member Typedef Documentation

◆ difference_type

template<typename t_F >
typedef int_vector ::difference_type sdsl::random_access_container< t_F >::difference_type

Definition at line 168 of file iterators.hpp.

◆ iterator_type

template<typename t_F >
typedef random_access_const_iterator<random_access_container> sdsl::random_access_container< t_F >::iterator_type

Definition at line 170 of file iterators.hpp.

◆ size_type

template<typename t_F >
typedef int_vector ::size_type sdsl::random_access_container< t_F >::size_type

Definition at line 167 of file iterators.hpp.

◆ value_type

template<typename t_F >
typedef std::invoke_result_t<t_F, size_type> sdsl::random_access_container< t_F >::value_type

Definition at line 169 of file iterators.hpp.

Constructor & Destructor Documentation

◆ random_access_container() [1/2]

template<typename t_F >
sdsl::random_access_container< t_F >::random_access_container ( )
inline

Definition at line 175 of file iterators.hpp.

◆ random_access_container() [2/2]

template<typename t_F >
sdsl::random_access_container< t_F >::random_access_container ( t_F  ff,
size_type  size 
)
inline

Definition at line 176 of file iterators.hpp.

Member Function Documentation

◆ begin()

template<typename t_F >
iterator_type sdsl::random_access_container< t_F >::begin ( ) const
inline

Definition at line 189 of file iterators.hpp.

◆ end()

template<typename t_F >
iterator_type sdsl::random_access_container< t_F >::end ( ) const
inline

Definition at line 194 of file iterators.hpp.

◆ operator[]()

template<typename t_F >
value_type sdsl::random_access_container< t_F >::operator[] ( size_type  i) const
inline

Definition at line 179 of file iterators.hpp.

◆ size()

template<typename t_F >
size_type sdsl::random_access_container< t_F >::size ( ) const
inline

Definition at line 184 of file iterators.hpp.

Member Data Documentation

◆ f

template<typename t_F >
t_F sdsl::random_access_container< t_F >::f

Definition at line 172 of file iterators.hpp.

◆ m_size

template<typename t_F >
size_type sdsl::random_access_container< t_F >::m_size

Definition at line 173 of file iterators.hpp.


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