elike_dep_parser.hh

00001 /* vim: set sw=4 sts=4 et foldmethod=syntax : */
00002 
00003 /*
00004  * Copyright (c) 2008 Ciaran McCreesh
00005  *
00006  * This file is part of the Paludis package manager. Paludis is free software;
00007  * you can redistribute it and/or modify it under the terms of the GNU General
00008  * Public License version 2, as published by the Free Software Foundation.
00009  *
00010  * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
00011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00012  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
00013  * details.
00014  *
00015  * You should have received a copy of the GNU General Public License along with
00016  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
00017  * Place, Suite 330, Boston, MA  02111-1307  USA
00018  */
00019 
00020 #ifndef PALUDIS_GUARD_PALUDIS_ELIKE_DEP_PARSER_HH
00021 #define PALUDIS_GUARD_PALUDIS_ELIKE_DEP_PARSER_HH 1
00022 
00023 #include <paludis/elike_dep_parser-fwd.hh>
00024 #include <paludis/util/named_value.hh>
00025 
00026 namespace paludis
00027 {
00028     namespace n
00029     {
00030         struct on_all;
00031         struct on_annotations;
00032         struct on_any;
00033         struct on_arrow;
00034         struct on_error;
00035         struct on_label;
00036         struct on_pop;
00037         struct on_should_be_empty;
00038         struct on_string;
00039         struct on_use;
00040         struct on_use_under_any;
00041     }
00042 
00043     struct ELikeDepParserCallbacks
00044     {
00045         NamedValue<n::on_all, ELikeDepParserAllFunction> on_all;
00046         NamedValue<n::on_annotations, ELikeDepParserAnnotationsFunction> on_annotations;
00047         NamedValue<n::on_any, ELikeDepParserAnyFunction> on_any;
00048         NamedValue<n::on_arrow, ELikeDepParserArrowFunction> on_arrow;
00049         NamedValue<n::on_error, ELikeDepParserErrorFunction> on_error;
00050         NamedValue<n::on_label, ELikeDepParserLabelFunction> on_label;
00051         NamedValue<n::on_pop, ELikeDepParserPopFunction> on_pop;
00052         NamedValue<n::on_should_be_empty, ELikeDepParserShouldBeEmptyFunction> on_should_be_empty;
00053         NamedValue<n::on_string, ELikeDepParserStringFunction> on_string;
00054         NamedValue<n::on_use, ELikeDepParserUseFunction> on_use;
00055         NamedValue<n::on_use_under_any, ELikeDepParserUseUnderAnyFunction> on_use_under_any;
00056     };
00057 }
00058 
00059 #endif

Generated on Mon Sep 21 10:36:08 2009 for paludis by  doxygen 1.5.4