SDSL  3.0.0
Succinct Data Structure Library
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::result_of< t_F(size_type)>::type value_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 138 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 141 of file iterators.hpp.

◆ iterator_type

Definition at line 143 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 140 of file iterators.hpp.

◆ value_type

template<typename t_F >
typedef std::result_of<t_F(size_type)>::type sdsl::random_access_container< t_F >::value_type

Definition at line 142 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 148 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 149 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 158 of file iterators.hpp.

◆ end()

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

Definition at line 160 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 154 of file iterators.hpp.

◆ size()

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

Definition at line 156 of file iterators.hpp.

Member Data Documentation

◆ f

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

Definition at line 145 of file iterators.hpp.

◆ m_size

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

Definition at line 146 of file iterators.hpp.


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