OpenVDB 9.0.0
Public Types | Public Member Functions | Friends | List of all members
Range< 1, T > Class Template Reference

#include <nanovdb/util/Range.h>

Public Types

using const_iterator = T
 
using size_type = size_t
 

Public Member Functions

 Range (const Range &)=default
 
 Range (T begin, T end, size_type grainsize=size_type(1))
 
 Range (Range &r, Split)
 Split constructor: r[a,b[ -> r[a,b/2[ & this[b/2,b[. More...
 
bool operator== (const Range &rhs) const
 
middle () const
 
size_type size () const
 
bool empty () const
 
size_type grainsize () const
 
bool is_divisible () const
 
const_iterator begin () const
 
const_iterator end () const
 

Friends

template<int , typename >
class Range
 

Member Typedef Documentation

◆ const_iterator

using const_iterator = T

◆ size_type

using size_type = size_t

Constructor & Destructor Documentation

◆ Range() [1/3]

Range ( const Range< 1, T > &  )
default

◆ Range() [2/3]

Range ( begin,
end,
size_type  grainsize = size_type(1) 
)
inline

◆ Range() [3/3]

Range ( Range< 1, T > &  r,
Split   
)
inline

Split constructor: r[a,b[ -> r[a,b/2[ & this[b/2,b[.

Member Function Documentation

◆ begin()

const_iterator begin ( ) const
inline

◆ empty()

bool empty ( ) const
inline

◆ end()

const_iterator end ( ) const
inline

◆ grainsize()

size_type grainsize ( ) const
inline

◆ is_divisible()

bool is_divisible ( ) const
inline

◆ middle()

T middle ( ) const
inline

◆ operator==()

bool operator== ( const Range< 1, T > &  rhs) const
inline

◆ size()

size_type size ( ) const
inline

Friends And Related Function Documentation

◆ Range

friend class Range
friend