Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

loopspec.h File Reference


Detailed Description

LoopSpec class and associated functions.

Header
/u/nn/cvsroot/lissom/src/loopspec.h,v 1.4 2002/07/09 03:16:59 jbednar Exp

Definition in file loopspec.h.

#include <string>
#include <iostream>
#include "../src/valuegen.h"

Include dependency graph for loopspec.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  LoopSpec
 Loop counter specification. More...


Functions

template<class TT> std::ostream & operator<< (std::ostream &s, const LoopSpec< TT > &ls)
 Stream output for a LoopSpec.

template<class LoopContainer, class LoopContainerIterator, class Action> bool LoopSpecs_ExecuteNested (LoopContainer &loops, const LoopContainerIterator &current, Action &fn)
 Accepts a container of LoopSpecs and executes them recursively as a set of nested loops around the given Action, which must be callable as a function.


Function Documentation

template<class LoopContainer, class LoopContainerIterator, class Action>
bool LoopSpecs_ExecuteNested LoopContainer &    loops,
const LoopContainerIterator &    current,
Action &    fn
 

Accepts a container of LoopSpecs and executes them recursively as a set of nested loops around the given Action, which must be callable as a function.

Actually, the loops need not be LoopSpecs, per se, as long as they support next(), reset(), and valid().

Definition at line 122 of file loopspec.h.

Referenced by NeuralRegionMap::measure_stimulus_map().

template<class TT>
std::ostream& operator<< std::ostream &    s,
const LoopSpec< TT > &    ls
 

Stream output for a LoopSpec.

If a name is defined, the value is shown as x=y; otherwise just the value (y) is shown.

Definition at line 108 of file loopspec.h.


Generated on Mon Jan 20 02:36:16 2003 for RF-LISSOM by doxygen1.3-rc2