4 // Fraunhofer Institute for Open Communication Systems (FOKUS)
5 // Competence Center NETwork research (NET), St. Augustin, GERMANY
6 // Stefan Bund <g0dil@berlios.de>
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the
20 // Free Software Foundation, Inc.,
21 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 \brief parameter public header */
26 /** \defgroup boost_parameter Boost.Parameter utilities
28 Here we define some utilities for the <a
29 href="http://www.boost.org/doc/libs/1_33_1/libs/parameter/doc/html/index.html">Boost.Parameter</a>
33 #ifndef HH_SENF_Utils_parameter_
34 #define HH_SENF_Utils_parameter_ 1
37 #include <boost/parameter/binding.hpp>
38 #include <boost/type_traits/is_same.hpp>
39 #include <boost/mpl/not.hpp>
41 //#include "parameter.mpp"
42 ///////////////////////////////hh.p////////////////////////////////////////
46 ///\addtogroup boost_parameter
49 /** \brief Test \a ArgumentPack, whether the \a TagType argument was supplied
51 This check will test, whether the argument identified by the \a TagType keyword tag type was
52 specified in the \a ArgumentPack. This inherits from \c boost::mpl::true_ or \c
53 boost::mpl::false_ accordingly.
55 \tparam ArgumentPack argument pack to check
56 \tparam TagType keyword tag type identifying the argument to check
58 template <class ArgumentPack, class TagType>
60 : public boost::mpl::not_<
61 boost::is_same< typename boost::parameter::binding< ArgumentPack, TagType, void>::type,
68 ///////////////////////////////hh.e////////////////////////////////////////
69 //#include "parameter.cci"
70 //#include "parameter.ct"
71 //#include "parameter.cti"
79 // c-file-style: "senf"
80 // indent-tabs-mode: nil
81 // ispell-local-dictionary: "american"
82 // compile-command: "scons -u test"