1 // (C) Copyright Gennadiy Rozental 2005. 2 // Distributed under the Boost Software License, Version 1.0. 3 // (See accompanying file LICENSE_1_0.txt or copy at 4 // 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: configuration.hpp,v $ 9 // 10 // Version : $Revision: 1.1.1.1 $ 11 // 12 // Description : abstract interface for the formal parameter 13 // *************************************************************************** 14 15 #ifndef BOOST_RT_CONFIGURATION_HPP_062604GER 16 #define BOOST_RT_CONFIGURATION_HPP_062604GER 17 18 // Boost.Runtime.Parameter 19 #include <boost/test/utils/runtime/config.hpp> 20 #include <boost/test/utils/runtime/parameter.hpp> 21 #include <boost/test/utils/runtime/argument.hpp> 22 23 namespace boost { 24 25 namespace BOOST_RT_PARAM_NAMESPACE { 26 27 // ************************************************************************** // 28 // ************** runtime::configuration ************** // 29 // ************************************************************************** // 30 31 class config_source { 32 virtual parameter const& config_param_begin() const = 0; 33 virtual parameter const& config_param_end() const = 0; 34 35 protected: config_source()36 config_source() {} ~config_source()37 ~config_source() {} 38 }; 39 40 // ************************************************************************** // 41 // ************** runtime::configuration ************** // 42 // ************************************************************************** // 43 44 template<typename StoragePolicy,typename IdentificationPlicy,typename ConflictResolutionPolicy> 45 class configuration : public StoragePolicy, public IdentificationPlicy, public ConflictResolutionPolicy { 46 public: 47 // Constructor 48 configuration(); 49 use(config_source const &)50 void use( config_source const& ) 51 { 52 53 } 54 private: 55 }; 56 57 } // namespace BOOST_RT_PARAM_NAMESPACE 58 59 } // namespace boost 60 61 // ************************************************************************** // 62 // Revision History: 63 // 64 // $Log: configuration.hpp,v $ 65 // Revision 1.1.1.1 2006/03/20 20:15:28 ewalkup 66 // boost libraries 67 // 68 // Revision 1.1 2005/04/12 06:42:42 rogeeff 69 // Runtime.Param library initial commit 70 // 71 // ************************************************************************** // 72 73 #endif // BOOST_RT_CONFIGURATION_HPP_062604GER 74