LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
Bridge CRTP class for sequence based on another type of sequence, with elements computed by the derived class. More...
#include <BridgeSeq.h>
Inherited by LatBuilder::GenSeq::PowerSeq< SEQ >, LatBuilder::GenSeq::PowerSeq< typename Base::template RebindTraversal< TRAV2 >::Type >, LatBuilder::LatSeq::Combiner< LR, ET, GenSeqType, CartesianProduct >, and LatBuilder::LatSeq::Combiner< LR, ET, GenSeqType, Zip >.
Public Types | |
typedef BridgeSeq< DERIVED, BASE, VALUE, ITERATOR > | BridgeSeq_ |
typedef BASE | Base |
typedef VALUE | value_type |
typedef Base::size_type | size_type |
typedef ITERATOR< DERIVED > | const_iterator |
Public Member Functions | |
BridgeSeq (Base base=Base()) | |
Constructor. | |
Base & | base () |
Returns the base sequence. | |
const Base & | base () const |
void | setBase (Base b) |
Changes the base sequence to b . | |
const_iterator | begin () const |
Returns an iterator pointing to the first element in the sequence. | |
const_iterator | end () const |
Returns an iterator pointing past the last element in the sequence. |
Friends | |
class | ITERATOR< DERIVED > |
Bridge CRTP class for sequence based on another type of sequence, with elements computed by the derived class.
The only requirement on DERIVED is a function with the following signature:
DERIVED | Deriving class. |
BASE | Base sequence class. |
VALUE | Value type of the elements in the sequence. |
|
inline |
Constructor.
base | Base sequence object. |