Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
echo.hh File Reference
#include <iostream>
#include <set>
#include <vector>
Include dependency graph for echo.hh:

Go to the source code of this file.

Macros

#define V(S)   #S ": " << S << ' '
 Display S and its value. More...
 
#define VV(S)   "<" #S ":" __HERE__ << '>' << S << "</" << #S << '>'
 Display S and its value in pseudo XML tags, in case of nesting. More...
 
#define SHOW(S)   std::cerr << S << std::endl
 
#define SHOWV(S)   SHOW(V(S))
 
#define __HERE__   __FILE__ ": " << __LINE__
 
#define SHOWH(S)   SHOW(__HERE__ << ": " << S)
 

Functions

template<typename T >
ostream & std::operator<< (ostream &o, set< T > &ts)
 
template<typename T >
ostream & std::operator<< (ostream &o, vector< T > &ts)
 

Macro Definition Documentation

#define __HERE__   __FILE__ ": " << __LINE__

Definition at line 20 of file echo.hh.

#define SHOW (   S)    std::cerr << S << std::endl

Definition at line 16 of file echo.hh.

#define SHOWH (   S)    SHOW(__HERE__ << ": " << S)

Definition at line 22 of file echo.hh.

#define SHOWV (   S)    SHOW(V(S))

Definition at line 18 of file echo.hh.

#define V (   S)    #S ": " << S << ' '

Display S and its value.

Definition at line 9 of file echo.hh.

#define VV (   S)    "<" #S ":" __HERE__ << '>' << S << "</" << #S << '>'

Display S and its value in pseudo XML tags, in case of nesting.

Definition at line 13 of file echo.hh.