Lattice Builder Manual Software Package for Constructing Rank-1 Lattices

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Types | Public Member Functions | List of all members
LatBuilder::CachedSeq< BASE, LAT, COMPRESS > Class Template Reference

Cached sequence wrapper. More...

`#include <CachedSeq.h>`

Inherits BASE.

## Public Types
typedef BASE | Base
typedef LatBuilder::Storage < LAT, COMPRESS > | Storage
typedef Storage::value_type | value_type
typedef Storage::size_type | size_type
typedef Storage::const_iterator | const_iterator

## Public Member Functions
| CachedSeq (Base base)
CachedSeq & | operator= (Base base)
size_type | size () const
const_iterator | begin () const
const_iterator | end () const

## Detailed Description

### template<class BASE, LatType LAT, Compress COMPRESS>
class LatBuilder::CachedSeq< BASE, LAT, COMPRESS >

Cached sequence wrapper.

Allows the elements of a dynamically generated sequence to be pre-computed and stored in a container.

Example:

CachedSeq<MySeq> seq;
seq = MySeq(...);
for (const auto& elem : seq)
std::cout << elem << std::endl;

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

- latbuilder/include/latbuilder/CachedSeq.h