~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/test/utils/runtime/cla/modifier.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//  (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 <boost/test/utils/runtime/config.hpp>
 
20
 
 
21
// Boost.Test
 
22
#include <boost/test/utils/named_params.hpp>
 
23
 
 
24
namespace boost {
 
25
 
 
26
namespace BOOST_RT_PARAM_NAMESPACE {
 
27
 
 
28
namespace cla {
 
29
 
 
30
// ************************************************************************** //
 
31
// **************         environment variable modifiers       ************** //
 
32
// ************************************************************************** //
 
33
 
 
34
namespace {
 
35
 
 
36
nfp::typed_keyword<bool,struct optional_t>              optional_m;
 
37
nfp::named_parameter<bool,optional_t,bool>              optional( true );
 
38
nfp::typed_keyword<bool,struct required_t>              required_m;
 
39
nfp::named_parameter<bool,required_t,bool>              required( true );
 
40
nfp::typed_keyword<bool,struct multiplicable_t>         multiplicable_m;
 
41
nfp::named_parameter<bool,multiplicable_t,bool>         multiplicable( true );
 
42
nfp::typed_keyword<bool,struct guess_name_t>            guess_name_m;
 
43
nfp::named_parameter<bool,guess_name_t,bool>            guess_name( true );
 
44
nfp::typed_keyword<bool,struct ignore_mismatch_t>       ignore_mismatch_m;
 
45
nfp::named_parameter<bool,ignore_mismatch_t,bool>       ignore_mismatch( true );
 
46
nfp::typed_keyword<bool,struct optional_value_t>        optional_value_m;
 
47
nfp::named_parameter<bool,optional_value_t,bool>        optional_value( true );
 
48
 
 
49
nfp::typed_keyword<char_type,struct input_separator_t>  input_separator;
 
50
nfp::typed_keyword<cstring,struct prefix_t>             prefix;
 
51
nfp::typed_keyword<cstring,struct name_t>               name;
 
52
nfp::typed_keyword<cstring,struct separator_t>          separator;
 
53
nfp::typed_keyword<cstring,struct description_t>        description;
 
54
nfp::typed_keyword<cstring,struct refer_to_t>           default_refer_to;
 
55
 
 
56
nfp::keyword<struct default_value_t>                    default_value;
 
57
nfp::keyword<struct handler_t>                          handler;
 
58
nfp::keyword<struct interpreter_t>                      interpreter;
 
59
nfp::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
#endif // BOOST_RT_CLA_MODIFIER_HPP_062604GER