oln::topo::combinatorial_map::internal::anyfunc< U, V, Inf > Class Template Reference

#include <anyfunc.hh>

Inheritance diagram for oln::topo::combinatorial_map::internal::anyfunc< U, V, Inf >:

Inheritance graph
[legend]
Collaboration diagram for oln::topo::combinatorial_map::internal::anyfunc< U, V, Inf >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

operator() (const U &e) const
 Retrieve the value f(e).
void resize (unsigned n)
 Resize the domain of f.
void assign (const U &i, const V &e)
 Assign a value to f(i).
void erase (const U &i)
 f(i) = 0.
std::ostream & print (std::ostream &ostr) const
 Print the function.

Protected Member Functions

 anyfunc ()
 anyfunc (unsigned n)
 Construct a function on [0..n].

Protected Attributes

std::vector< V > f_

Detailed Description

template<class U, class V, class Inf>
class oln::topo::combinatorial_map::internal::anyfunc< U, V, Inf >

Function stored in a vector.

Todo:
FIXME: It has nothing to do there.

Definition at line 61 of file anyfunc.hh.


The documentation for this class was generated from the following file:
Generated on Tue Feb 20 20:29:23 2007 for Olena by  doxygen 1.5.1