Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

element_ops.hxx File Reference

Implementations of external operators standard delegations for Element. More...

Include dependency graph for element_ops.hxx:

Include dependency graph

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

Included by dependency graph

Namespaces

namespace  vcsn
namespace  std

Detailed Description

Implementations of external operators standard delegations for Element.


Define Documentation

#define ELEMENT_OP_PROTO_SYM Op,
Ret   
 

Value:

template<typename S1, typename T1, typename S2, typename T2>    \
static inline                                                   \
Ret operator Op(const Element<S1, T1>& x1,                      \
                const Element<S2, T2>& x2)

#define ELEMENT_OP_PROTO_LEFT_FOREIGN Op,
Ret   
 

Value:

template<typename S1, typename T1, typename T2>                 \
static inline                                                   \
Ret operator Op(const Element<S1, T1>& x1, const T2& x2)

#define ELEMENT_OP_PROTO_RIGHT_FOREIGN Op,
Ret   
 

Value:

template<typename T1, typename S2, typename T2>                 \
static inline                                                   \
Ret operator Op(const T1& x1, const Element<S2, T2>& x2)

#define BOOLEAN_DELEGATION Op,
OpName   
 

Value:

ELEMENT_OP_PROTO_SYM(Op, bool) { DELEGATE_SYM(OpName); }                        \
  ELEMENT_OP_PROTO_LEFT_FOREIGN(Op, bool) { DELEGATE_LEFT_FOREIGN(OpName); }    \
  ELEMENT_OP_PROTO_RIGHT_FOREIGN(Op, bool) { DELEGATE_RIGHT_FOREIGN(OpName); }

#define BOOLEAN_CANONICAL_DELEGATION Op,
Not,
X1,
Del,
X2   
 

Value:

ELEMENT_OP_PROTO_SYM(Op, bool) { return Not (x ## X1 Del x ## X2); }                    \
  ELEMENT_OP_PROTO_LEFT_FOREIGN(Op, bool) { return Not (x ## X1 Del x ## X2); }         \
  ELEMENT_OP_PROTO_RIGHT_FOREIGN(Op, bool) { return Not (x ## X1 Del x ## X2); }


Generated on Wed Jul 2 19:09:08 2003 for Vaucanson by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002