OpenVDB  11.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

using const_iterator = T
using size_type = size_t

Constructor & Destructor Documentation

Range ( const Range< 1, T > &  )
default
Range ( begin,
end,
size_type  grainsize = size_type(1) 
)
inline
Range ( Range< 1, T > &  r,
Split   
)
inline

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

Member Function Documentation

const_iterator begin ( ) const
inline
bool empty ( ) const
inline
const_iterator end ( ) const
inline
size_type grainsize ( ) const
inline
bool is_divisible ( ) const
inline
T middle ( ) const
inline
bool operator== ( const Range< 1, T > &  rhs) const
inline
size_type size ( ) const
inline

Friends And Related Function Documentation

friend class Range
friend