playrho::SizedRange< IT > Class Template Reference

Template sized range value class. More...

#include <Range.hpp>

Public Types

using size_type = std::size_t
 Size type. More...
 
- Public Types inherited from playrho::Range< IT >
using iterator_type = IT
 Iterator type. More...
 

Public Member Functions

PLAYRHO_CONSTEXPR SizedRange (typename Range< IT >::iterator_type iter_begin, typename Range< IT >::iterator_type iter_end, size_type size) noexcept
 Initializing constructor. More...
 
PLAYRHO_CONSTEXPR size_type size () const noexcept
 Gets the size of this range. More...
 
- Public Member Functions inherited from playrho::Range< IT >
PLAYRHO_CONSTEXPR Range (iterator_type iter_begin, iterator_type iter_end) noexcept
 Initializing constructor. More...
 
PLAYRHO_CONSTEXPR iterator_type begin () const noexcept
 Gets the "begin" index value. More...
 
PLAYRHO_CONSTEXPR iterator_type end () const noexcept
 Gets the "end" index value. More...
 
PLAYRHO_CONSTEXPR bool empty () const noexcept
 Whether this range is empty. More...
 

Detailed Description

template<typename IT>
class playrho::SizedRange< IT >

Template sized range value class.

Definition at line 70 of file Range.hpp.

Member Typedef Documentation

◆ size_type

template<typename IT >
using playrho::SizedRange< IT >::size_type = std::size_t

Size type.

Definition at line 74 of file Range.hpp.

Constructor & Destructor Documentation

◆ SizedRange()

template<typename IT >
PLAYRHO_CONSTEXPR playrho::SizedRange< IT >::SizedRange ( typename Range< IT >::iterator_type  iter_begin,
typename Range< IT >::iterator_type  iter_end,
size_type  size 
)
inlinenoexcept

Initializing constructor.

Definition at line 77 of file Range.hpp.

Member Function Documentation

◆ size()

template<typename IT >
PLAYRHO_CONSTEXPR size_type playrho::SizedRange< IT >::size ( ) const
inlinenoexcept

Gets the size of this range.

Definition at line 86 of file Range.hpp.


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