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  Node
 Node class interface. More...

Defines

#define CREATE_PARAM_CLASSNODE(Name)


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 109 of file node.hh.


Generated on Wed Mar 19 13:32:05 2008 for Vaucanson by  doxygen 1.5.5