source: NonGTP/Boost/boost/test/utils/runtime/cla/modifier.hpp @ 857

Revision 857, 3.1 KB checked in by igarcia, 19 years ago (diff)
Line 
1//  (C) Copyright Gennadiy Rozental 2005.
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: modifier.hpp,v $
9//
10//  Version     : $Revision: 1.1 $
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 <boost/test/utils/runtime/config.hpp>
20
21// Boost.Test
22#include <boost/test/utils/named_params.hpp>
23
24namespace boost {
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 const,optional_t>             optional( true );
38nfp::typed_keyword<bool,struct required_t>              required_m;
39nfp::named_parameter<bool const,required_t>             required( true );
40nfp::typed_keyword<bool,struct multiplicable_t>         multiplicable_m;
41nfp::named_parameter<bool const,multiplicable_t>        multiplicable( true );
42nfp::typed_keyword<bool,struct guess_name_t>            guess_name_m;
43nfp::named_parameter<bool const,guess_name_t>           guess_name( true );
44nfp::typed_keyword<bool,struct ignore_mismatch_t>       ignore_mismatch_m;
45nfp::named_parameter<bool const,ignore_mismatch_t>      ignore_mismatch( true );
46nfp::typed_keyword<bool,struct optional_value_t>        optional_value_m;
47nfp::named_parameter<bool const,optional_value_t>       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 boost
68
69// ************************************************************************** //
70//   Revision History:
71//
72//   $Log: modifier.hpp,v $
73//   Revision 1.1  2005/04/12 06:42:43  rogeeff
74//   Runtime.Param library initial commit
75//
76// ************************************************************************** //
77
78#endif // BOOST_RT_CLA_MODIFIER_HPP_062604GER
Note: See TracBrowser for help on using the repository browser.