#include <anyfunc.hh>
Inheritance diagram for oln::topo::combinatorial_map::internal::anyfunc< U, V, Inf >:
Public Member Functions | |
V | 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_ |
Definition at line 61 of file anyfunc.hh.