node.hh File Reference

Node class for Factory Method, used in xml::xml_converter::save(). More...

Include dependency graph for node.hh:

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

Go to the source code of this file.

Namespaces

namespace  vcsn
namespace  vcsn::xml

Classes

struct  reference_pair
struct  Node
 Node class interface. More...
struct  automatonNode
struct  contentNode
struct  finalNode
struct  initialNode
struct  labelTypeNode
struct  stateNode
struct  statesNode
struct  transducerNode
struct  transitionNode
struct  transitionsNode
struct  drawingNode
struct  freemonoidNode
struct  generatorNode
struct  geometryNode
struct  monoidNode
struct  semiringNode
struct  labelTypeNode< Element< Automata< S >, T > >
struct  labelTypeNode< Element< Transducer< S >, T > >
struct  labelTypeNode< Element< Automata< vcsn::algebra::Series< S, vcsn::algebra::FreeMonoidProduct< M1, M2 > > >, T > >
struct  semiringNode< Element< Transducer< S >, T > >
struct  monoidNode< Element< Automata< vcsn::algebra::Series< S, vcsn::algebra::FreeMonoidProduct< M1, M2 > > >, T > >

Defines

#define CREATE_CLASSNODE(name)
#define CREATE_PARAM_CLASSNODE(Name)
#define TParm   template <class S, class T>
#define TParmFMP   template <class S, class T, class M1, class M2>
#define AUTtype   Element<Automata<S>, T>
#define TRANStype   Element<Transducer<S>, T>
#define FMPtype
#define CREATE_SPEC_TYPE_NODE(TempParam, Type)
#define CREATE_SPEC_PARAM_NODE(name, TempParam, Type)
#define register_in_factory(f, T, name)   factory_reg(f, std::string(#name), name ## Node<T>::create);
#define register_all_factory(f, T)


Detailed Description

Node class for Factory Method, used in xml::xml_converter::save().

See also:
xml::xml_converter, vcsn::Factory
Author:
Louis-Noel Pouchet <louis-noel.pouchet@lrde.epita.fr>

Definition in file node.hh.


Define Documentation

#define CREATE_PARAM_CLASSNODE ( Name   ) 

Value:

template <class T>                                              \
    struct Name ## Node : Node<T>                               \
    {                                                           \
      void process(xercesc::DOMElement*, T&,                    \
                   typename Node<T>::map_t&,                    \
                   typename Node<T>::factory_t&)                \
      {};                                                       \
                                                                \
      template <class U>                                        \
      void process(xercesc::DOMElement*, T&, U &,               \
                   typename Node<T>::map_t&,                    \
                   typename Node<T>::factory_t&);               \
                                                                \
      static                                                    \
      Node<T>*                                                  \
      create()                                                  \
      {                                                         \
        return new Name ## Node;                                \
      }                                                         \
    };

Definition at line 106 of file node.hh.


Generated on Sun Jul 29 19:41:58 2007 for Vaucanson by  doxygen 1.5.2