GetFEM  5.4.2
gmm_ref.h File Reference

Provide some simple pseudo-containers. More...

#include <iterator>
#include "gmm_except.h"

Go to the source code of this file.

Classes

struct  gmm::tab_ref_index_ref_iterator_< ITER, ITER_INDEX >
 iterator over a gmm::tab_ref_index_ref<ITER,ITER_INDEX> More...
 
class  gmm::tab_ref_index_ref< ITER, ITER_INDEX >
 indexed array reference (given a container X, and a set of indexes I, this class provides a pseudo-container Y such that More...
 
class  gmm::tab_ref_reg_spaced< ITER >
 provide a "strided" view a of container More...
 
struct  gmm::tab_ref_with_selection_iterator_< ITER, COND >
 iterator over a tab_ref_with_selection More...
 
class  gmm::tab_ref_with_selection< ITER, COND >
 given a container X and a predicate P, provide pseudo-container Y of all elements of X such that P(X[i]). More...
 

Functions

template<typename ITER , typename ITER_INDEX >
tab_ref_index_ref_iterator_< ITER, ITER_INDEX > gmm::index_ref_iterator (ITER it, ITER_INDEX it_i)
 convenience template function for quick obtention of a indexed iterator without having to specify its (long) typename
 
template<typename ITER >
tab_ref_reg_spaced_iterator_< ITER > gmm::reg_spaced_iterator (ITER it, size_t stride)
 convenience template function for quick obtention of a strided iterator without having to specify its (long) typename
 

Detailed Description

Provide some simple pseudo-containers.

Author
Yves Renard Yves..nosp@m.Rena.nosp@m.rd@in.nosp@m.sa-l.nosp@m.yon.f.nosp@m.r
Date
August 26, 2000. WARNING : modifiying the container infirm the validity of references.

Definition in file gmm_ref.h.