Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 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 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 15 | #ifndef NDNBOOST_RT_CLA_MODIFIER_HPP_062604GER |
| 16 | #define NDNBOOST_RT_CLA_MODIFIER_HPP_062604GER |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 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 | |
| 24 | namespace ndnboost { |
| 25 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 26 | namespace NDNBOOST_RT_PARAM_NAMESPACE { |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 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 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 65 | } // namespace NDNBOOST_RT_PARAM_NAMESPACE |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 66 | |
| 67 | } // namespace ndnboost |
| 68 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 69 | #endif // NDNBOOST_RT_CLA_MODIFIER_HPP_062604GER |