vcsn::rat Namespace Reference


Classes

class  DepthVisitor
struct  setpm
 Manipulator to set the print mode of a rational expression. More...
struct  setzero
 Manipulator to set the representation of the null series. More...
struct  setid
 Manipulator to set the representation of the identity series. More...
class  DumpVisitor
class  exp
 Implementation of rational expression. More...
class  LengthVisitor
class  ConstNodeVisitor
class  DefaultMutableNodeVisitor
class  Node
class  Zero
class  One
class  Constant
class  LeftWeighted
class  RightWeighted
class  Star
class  Product
class  Sum
class  RandomVisitor
class  ReverseVisitor
class  StarHeightVisitor
class  XmlExpVisitor
int print_mode ()
 Print mode.
int zero ()
 Zero of the series.
int id ()
 Identity of the series.

Enumerations

enum  print_mode_t {
  MODE_NONE = 0x0, MODE_ADD = 0x1, MODE_MUL = 0x2, MODE_STAR = 0x4,
  MODE_RWEIGHT = 0x8, MODE_LWEIGHT = 0x10, MODE_WEIGHT = 0x18, MODE_ALL = 0x1F
}
 Flags to indicate how to print a rational expression. More...

Functions

template<class Word, class Weight>
std::ostream & operator<< (std::ostream &ostr, const exp< Word, Weight > &e)
 Printing of a rational expression.
print_mode_t getpm (const std::ostream &ostr)
 Retrieve the print mode of a stream.
print_mode_t getpm (std::ostream &ostr)
template<typename M, typename W>
const exp< M, W > operator * (const exp< M, W > &lhs, const exp< M, W > &rhs)
template<typename M, typename W>
exp< M, W > operator+ (const exp< M, W > &lhs, const exp< M, W > &rhs)
template<typename M, typename W>
exp< M, W > operator * (const W &lhs, const exp< M, W > &rhs)
template<typename M, typename W>
exp< M, W > operator * (const exp< M, W > &lhs, const W &rhs)
template<typename M, typename S, typename T>
exp< M, Element< S, T > > operator * (const Element< S, T > &lhs, const exp< M, Element< S, T > > &rhs)
template<typename M, typename S, typename T>
exp< M, Element< S, T > > operator * (const exp< M, Element< S, T > > &lhs, const Element< S, T > &rhs)
template<typename M, typename W>
void swap (vcsn::rat::exp< M, W > &lhs, vcsn::rat::exp< M, W > &rhs)


Enumeration Type Documentation

enum print_mode_t
 

Flags to indicate how to print a rational expression.

Enumerator:
MODE_NONE  < a+b+c, a.b.c, 2 a, a 2, a*
MODE_ADD  < ((a+b)+c)
MODE_MUL  < ((a.b).c)
MODE_STAR  < (a)*
MODE_RWEIGHT  < (2 a)
MODE_LWEIGHT  < (a 2)
MODE_WEIGHT  < ((2 a) 2), (2 (a 2))
MODE_ALL  < ((a+b)+c), ((a.b).c), ...

Definition at line 34 of file dump_visitor.hh.


Generated on Sat Jul 29 17:32:41 2006 for Vaucanson by  doxygen 1.4.6