Vaucanson  1.4.1
meta_element_root.hh
Go to the documentation of this file.
1 // meta_element_root.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 #ifndef VCSN_DESIGN_PATTERN_META_ELEMENT_ROOT_HH
18 # define VCSN_DESIGN_PATTERN_META_ELEMENT_ROOT_HH
19 
31 
32 namespace vcsn {
33 
36  /*--------------------------------.
37  | Documentation about MetaElement |
38  `--------------------------------*/
39 
65  /*--------------------------------.
66  | MetaElement<Structure<Self>, T> |
67  `--------------------------------*/
68 
85  template<class S, typename T>
86  struct MetaElement<Structure<S>, T>
87  : SyntacticDecorator<S, T>
88  {
89  protected:
91 
92  MetaElement();
93  MetaElement(const MetaElement& other);
95  };
96 
99 } // vcsn
100 
101 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
102 # include <vaucanson/design_pattern/meta_element_root.hxx>
103 # endif // VCSN_USE_INTERFACE_ONLY
104 
105 #endif // ! VCSN_DESIGN_PATTERN_META_ELEMENT_ROOT_HH