default_ops.hh File Reference

Default implementations for standard Element operations. More...

Include dependency graph for default_ops.hh:

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

Go to the source code of this file.

Namespaces

namespace  vcsn

Functions

template<typename S, typename T>
bool op_contains (const Structure< S > &set, const T &value)
 Check whether a value is contained in a set.
template<typename S, typename T, typename U>
bool op_eq (const Structure< S > &, const T &v1, const U &v2)
 Equality between two structured values.
template<typename S, typename V, typename T, typename U>
bool op_eq (const Structure< S > &, const Structure< V > &, const T &v1, const U &v2)
 Equality between two structured values.
template<typename S, typename T, typename U>
bool op_lt (const Structure< S > &, const T &v1, const U &v2)
 Ordered comparison between two structured values.
template<typename S, typename V, typename T, typename U>
bool op_lt (const Structure< S > &, const Structure< V > &, const T &v1, const U &v2)
 Ordered comparison between two structured values.
template<typename S, typename R, typename T>
op_convert (const Structure< S > &se, SELECTOR(R), const T &data)
 Default conversion between value types with computation.
template<typename S, typename T>
const T & op_convert (const Structure< S > &se, SELECTOR(T), const T &from_data)
 Pass-through conversion.
template<typename S, typename T>
const T & op_convert (const Structure< S > &se, SELECTOR(T), const Structure< S > &from_se, const T &from_data)
 Pass-through conversion between compatible structures.
template<typename S, typename T>
op_default (const Structure< S > &se, SELECTOR(T))
 Default construction of values using Structure.
template<typename S, typename T>
void op_swap (const Structure< S > &se, T &v1, T &v2)
 Default swap operator.
template<typename S, typename T, typename U>
void op_assign (const Structure< S > &s, T &dst, const U &src)
 Assignement operator between two implementations of a Structure<S>.
template<typename S, typename T, typename U>
void op_assign (const Structure< S > &s1, const Structure< S > &s2, T &dst, const U &src)
 Assignement operator between two implementations of two differents structures.
template<typename S, typename T, typename U>
void op_in_add (const Structure< S > &s1, const Structure< S > &s2, T &dst, const U &arg)
 Addition in place operator between two different elements.
template<typename S, typename T, typename U>
void op_in_sub (const Structure< S > &s1, const Structure< S > &s2, T &dst, const U &arg)
 Substraction in place operator between two different elements.
template<typename S, typename T, typename U>
void op_in_mul (const Structure< S > &s1, const Structure< S > &s2, T &dst, const U &arg)
 Multiplication in place operator between two different elements.
template<typename S, typename T, typename U>
void op_in_div (const Structure< S > &s1, const Structure< S > &s2, T &dst, const U &arg)
 Division in place operator between two different elements.
template<typename S, typename T, typename U>
void op_in_mod (const Structure< S > &s1, const Structure< S > &s2, T &dst, const U &arg)
 Modulo in place operator between two different elements.
template<typename S, typename T, typename U>
op_add (const Structure< S > &s1, const Structure< S > &s2, const T &v1, const U &v2)
 Addition operator between two different elements.
template<typename S, typename T, typename U>
op_sub (const Structure< S > &s1, const Structure< S > &s2, const T &v1, const U &v2)
 Substraction operator between two different elements.
template<typename S, typename T, typename U>
op_mul (const Structure< S > &s1, const Structure< S > &s2, const T &v1, const U &v2)
 Multiplication operator between two different elements.
template<typename S, typename T, typename U>
op_div (const Structure< S > &s1, const Structure< S > &s2, const T &v1, const U &v2)
 Division operator between two different elements.
template<typename S, typename T, typename U>
op_mod (const Structure< S > &s1, const Structure< S > &s2, const T &v1, const U &v2)
 Modulo operator between two different elements.
template<typename S, typename St, typename T>
St & op_rin (const Structure< S > &s, St &st, const T &v)
 Input stream operator.
template<typename S, typename St, typename T>
St & op_rout (const Structure< S > &s, St &st, const T &v)
 Output stream operator.


Detailed Description

Default implementations for standard Element operations.

Definition in file default_ops.hh.


Generated on Tue Sep 22 10:15:42 2009 for Vaucanson by  doxygen 1.5.6