Vaucanson
1.4.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
vaucanson
algebra
concept
letter.hxx
1
// letter.hxx: this file is part of the Vaucanson project.
2
//
3
// Vaucanson, a generic library for finite state machines.
4
//
5
// Copyright (C) 2008 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_ALGEBRA_CONCEPT_LETTER_HXX
18
# define VCSN_ALGEBRA_CONCEPT_LETTER_HXX
19
20
# include <string>
21
# include <vector>
22
# include <utility>
23
24
# include <
vaucanson/misc/contract.hh
>
25
# include <vaucanson/algebra/concept/letter.hh>
26
27
namespace
vcsn {
28
29
namespace
algebra {
30
31
// Dummy implementation.
32
template
<
typename
L>
33
std::string
34
letter_traits<L>::kind()
35
{
36
return
0;
37
}
38
39
// Dummy implementation.
40
template
<
typename
L>
41
int
42
letter_traits<L>::dim()
43
{
44
return
0;
45
}
46
47
// Dummy implementation.
48
template
<
typename
L>
49
std::pair<bool, L>
50
letter_traits<L>::literal_to_letter(
const
std::string&)
51
{
52
return
std::make_pair(
false
, 0);
53
}
54
55
// Dummy implementation.
56
template
<
typename
L>
57
std::string
58
letter_traits<L>::letter_to_literal(
const
L&)
59
{
60
return
0;
61
}
62
63
}
// ! algebra
64
65
}
// ! vcsn
66
67
#endif // ! VCSN_ALGEBRA_CONCEPT_LETTER_HXX
Generated on Sat Jul 14 2012 18:46:40 for Vaucanson by
1.8.1.1