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

genericalgs.h File Reference


Detailed Description

Generic algorithms not assuming any particular datatype.

Header
/u/nn/cvsroot/lissom/src/genericalgs.h,v 1.12 2003/01/16 04:11:58 jbednar Exp

Definition in file genericalgs.h.

#include <algorithm>

Include dependency graph for genericalgs.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.

Namespaces

namespace  Generic

Defines

#define ISEQ(container)   (container).begin(),(container).end()
 Use whenever a pair of iterators are expected, as in: std::for_each(ISEQ(container),std::mem_fun(&Container::update)).

#define callMemberFunction(object, ptrToMember)   ((object).*(ptrToMember))
 Use to avoid the tricky C++ member function calling syntax.


Define Documentation

#define callMemberFunction object,
ptrToMember       ((object).*(ptrToMember))
 

Use to avoid the tricky C++ member function calling syntax.

(based on the 3/2000 C++ FAQ LITE question 30.5)

Definition at line 29 of file genericalgs.h.

#define ISEQ container       (container).begin(),(container).end()
 

Use whenever a pair of iterators are expected, as in: std::for_each(ISEQ(container),std::mem_fun(&Container::update)).

(based on a proposal in Stroustrup's "C++, 3rd Ed.", section 18.3.1)

Definition at line 19 of file genericalgs.h.

Referenced by LissomMap::backproject(), LissomMap::get_weights(), WorldViews::is_empty(), Histo::OneDBinList< Count, Value >::max_value(), Histo::OneDBinList< Count, Value >::max_value_bin(), NeuralRegionMap::measure_stimulus_map(), Retinal_Composite::next(), WorldViews::reset(), Retinal_Composite::reset(), FixedWtRegion::size_connection_bytes(), FixedWtRegion::size_unique_connections(), Retinal_AnchoredManagedComposite::stringrep(), Retinal_Composite::stringrep(), Histo::OneDBinList< Count, Value >::sum_count(), Histo::OneDBinList< Count, Value >::sum_value(), Retinal_Composite::update(), Histo::OneDBinList< Count, Value >::vector_sum(), and Histo::OneDBinList< Count, Value >::weighted_sum().


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