LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatBuilder::BridgeIteratorCachedPtr< SEQ > Class Template Reference

Bridge iterator with cached value accessible through a pointer. More...

#include <BridgeIteratorCachedPtr.h>

Inherits boost::iterators::iterator_adaptor< BridgeIteratorCachedPtr< SEQ >, SEQ::Base::const_iterator, const SEQ::value_type >.

Classes

struct  end_tag

Public Types

typedef SEQ::value_type value_type
typedef SEQ::size_type size_type

Public Member Functions

 BridgeIteratorCachedPtr (const SEQ &seq)
 BridgeIteratorCachedPtr (const SEQ &seq, end_tag)
const SEQ & seq () const
size_type index () const

Friends

class boost::iterators::iterator_core_access

Detailed Description

template<typename SEQ>
class LatBuilder::BridgeIteratorCachedPtr< SEQ >

Bridge iterator with cached value accessible through a pointer.

The SEQ class must implement:

std::unique_ptr<value_type> element(const typename Base::const_iterator& it) const

where Base is the type of the base sequence and value_type is the type of the elements contained in the sequence.


The documentation for this class was generated from the following file:
  • include/latbuilder/BridgeIteratorCachedPtr.h