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