- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# letter.hxx

    00001 // letter.hxx: this file is part of the Vaucanson project.
    00002 //
    00003 // Vaucanson, a generic library for finite state machines.
    00004 //
    00005 // Copyright (C) 2008 The Vaucanson Group.
    00006 //
    00007 // This program is free software; you can redistribute it and/or
    00008 // modify it under the terms of the GNU General Public License
    00009 // as published by the Free Software Foundation; either version 2
    00010 // of the License, or (at your option) any later version.
    00011 //
    00012 // The complete GNU General Public Licence Notice can be found as the
    00013 // `COPYING' file in the root directory.
    00014 //
    00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
    00016 //
    00017 #ifndef VCSN_ALGEBRA_CONCEPT_LETTER_HXX
    00018 # define VCSN_ALGEBRA_CONCEPT_LETTER_HXX
    00019
    00020 # include <string>
    00021 # include <vector>
    00022 # include <utility>
    00023
    00024 # include <vaucanson/misc/contract.hh>
    00025 # include <vaucanson/algebra/concept/letter.hh>
    00026
    00027 namespace vcsn {
    00028
    00029   namespace algebra {
    00030
    00031     // Dummy implementation.
    00032     template <typename L>
    00033     std::string
    00034     letter_traits<L>::kind()
    00035     {
    00036       return 0;
    00037     }
    00038
    00039     // Dummy implementation.
    00040     template <typename L>
    00041     int
    00042     letter_traits<L>::dim()
    00043     {
    00044       return 0;
    00045     }
    00046
    00047     // Dummy implementation.
    00048     template <typename L>
    00049     std::pair<bool, L>
    00050     letter_traits<L>::literal_to_letter(const std::string&)
    00051     {
    00052       return std::make_pair(false, 0);
    00053     }
    00054
    00055     // Dummy implementation.
    00056     template <typename L>
    00057     std::string
    00058     letter_traits<L>::letter_to_literal(const L&)
    00059     {
    00060       return 0;
    00061     }
    00062
    00063   } // ! algebra
    00064
    00065 } // ! vcsn
    00066
    00067 #endif // ! VCSN_ALGEBRA_CONCEPT_LETTER_HXX