Lattice Builder Manual
Software Package for Constructing Rank-1 Lattices
LatBuilder::Traversal::Forward Class Reference

Range-based forward traversal type. More...

#include <Traversal.h>

Inherited by LatBuilder::Traversal::Policy< SEQ, Forward >.

Public Types

typedef size_t size_type
 Size type.
 

Public Member Functions

 Forward (size_type offset=0, size_type size=std::numeric_limits< size_type >::max())
 Constructor. More...
 
size_t size () const
 Returns the traversal size.
 
void resize (size_type size)
 Changes the traversal size to size.
 

Static Public Member Functions

static std::string name ()
 

Protected Attributes

size_type m_first
 
size_type m_last
 

Detailed Description

Range-based forward traversal type.

Constructor & Destructor Documentation

LatBuilder::Traversal::Forward::Forward ( size_type  offset = 0,
size_type  size = std::numeric_limits<size_type>::max() 
)
inline

Constructor.

Parameters
offsetIndex of the first element in the range.
sizeNumber of elements in the range.

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