blob: 32719ab6ef5cc1073c68db119f43c58cdc38a08d [file] [log] [blame]
Jeff Thompsonef2d5a42013-08-22 19:09:24 -07001// (C) Copyright Gennadiy Rozental 2005-2008.
2// Use, modification, and distribution are subject to the
3// Boost Software License, Version 1.0. (See accompanying file
4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6// See http://www.boost.org/libs/test for the library home page.
7//
8// File : $RCSfile$
9//
10// Version : $Revision: 54633 $
11//
12// Description : parameter modifiers
13// ***************************************************************************
14
15#ifndef BOOST_RT_CLA_MODIFIER_HPP_062604GER
16#define BOOST_RT_CLA_MODIFIER_HPP_062604GER
17
18// Boost.Runtime.Parameter
19#include <ndnboost/test/utils/runtime/config.hpp>
20
21// Boost.Test
22#include <ndnboost/test/utils/named_params.hpp>
23
24namespace ndnboost {
25
26namespace BOOST_RT_PARAM_NAMESPACE {
27
28namespace cla {
29
30// ************************************************************************** //
31// ************** environment variable modifiers ************** //
32// ************************************************************************** //
33
34namespace {
35
36nfp::typed_keyword<bool,struct optional_t> optional_m;
37nfp::named_parameter<bool,optional_t,bool> optional( true );
38nfp::typed_keyword<bool,struct required_t> required_m;
39nfp::named_parameter<bool,required_t,bool> required( true );
40nfp::typed_keyword<bool,struct multiplicable_t> multiplicable_m;
41nfp::named_parameter<bool,multiplicable_t,bool> multiplicable( true );
42nfp::typed_keyword<bool,struct guess_name_t> guess_name_m;
43nfp::named_parameter<bool,guess_name_t,bool> guess_name( true );
44nfp::typed_keyword<bool,struct ignore_mismatch_t> ignore_mismatch_m;
45nfp::named_parameter<bool,ignore_mismatch_t,bool> ignore_mismatch( true );
46nfp::typed_keyword<bool,struct optional_value_t> optional_value_m;
47nfp::named_parameter<bool,optional_value_t,bool> optional_value( true );
48
49nfp::typed_keyword<char_type,struct input_separator_t> input_separator;
50nfp::typed_keyword<cstring,struct prefix_t> prefix;
51nfp::typed_keyword<cstring,struct name_t> name;
52nfp::typed_keyword<cstring,struct separator_t> separator;
53nfp::typed_keyword<cstring,struct description_t> description;
54nfp::typed_keyword<cstring,struct refer_to_t> default_refer_to;
55
56nfp::keyword<struct default_value_t> default_value;
57nfp::keyword<struct handler_t> handler;
58nfp::keyword<struct interpreter_t> interpreter;
59nfp::keyword<struct assign_to_t> assign_to;
60
61} // local namespace
62
63} // namespace cla
64
65} // namespace BOOST_RT_PARAM_NAMESPACE
66
67} // namespace ndnboost
68
69#endif // BOOST_RT_CLA_MODIFIER_HPP_062604GER