[857] | 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 |
|
---|
| 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 const,optional_t> optional( true );
|
---|
| 38 | nfp::typed_keyword<bool,struct required_t> required_m;
|
---|
| 39 | nfp::named_parameter<bool const,required_t> required( true );
|
---|
| 40 | nfp::typed_keyword<bool,struct multiplicable_t> multiplicable_m;
|
---|
| 41 | nfp::named_parameter<bool const,multiplicable_t> multiplicable( true );
|
---|
| 42 | nfp::typed_keyword<bool,struct guess_name_t> guess_name_m;
|
---|
| 43 | nfp::named_parameter<bool const,guess_name_t> guess_name( true );
|
---|
| 44 | nfp::typed_keyword<bool,struct ignore_mismatch_t> ignore_mismatch_m;
|
---|
| 45 | nfp::named_parameter<bool const,ignore_mismatch_t> ignore_mismatch( true );
|
---|
| 46 | nfp::typed_keyword<bool,struct optional_value_t> optional_value_m;
|
---|
| 47 | nfp::named_parameter<bool const,optional_value_t> 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 | // ************************************************************************** //
|
---|
| 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
|
---|