configuration.hpp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // (C) Copyright Gennadiy Rozental 2005-2008.
  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. // See http://www.boost.org/libs/test for the library home page.
  6. //
  7. // File : $RCSfile$
  8. //
  9. // Version : $Revision: 49312 $
  10. //
  11. // Description : abstract interface for the formal parameter
  12. // ***************************************************************************
  13. #ifndef BOOST_RT_CONFIGURATION_HPP_062604GER
  14. #define BOOST_RT_CONFIGURATION_HPP_062604GER
  15. // Boost.Runtime.Parameter
  16. #include <boost/test/utils/runtime/config.hpp>
  17. #include <boost/test/utils/runtime/parameter.hpp>
  18. #include <boost/test/utils/runtime/argument.hpp>
  19. namespace boost {
  20. namespace BOOST_RT_PARAM_NAMESPACE {
  21. // ************************************************************************** //
  22. // ************** runtime::configuration ************** //
  23. // ************************************************************************** //
  24. class config_source {
  25. virtual parameter const& config_param_begin() const = 0;
  26. virtual parameter const& config_param_end() const = 0;
  27. protected:
  28. config_source() {}
  29. ~config_source() {}
  30. };
  31. // ************************************************************************** //
  32. // ************** runtime::configuration ************** //
  33. // ************************************************************************** //
  34. template<typename StoragePolicy,typename IdentificationPlicy,typename ConflictResolutionPolicy>
  35. class configuration : public StoragePolicy, public IdentificationPlicy, public ConflictResolutionPolicy {
  36. public:
  37. // Constructor
  38. configuration();
  39. void use( config_source const& )
  40. {
  41. }
  42. private:
  43. };
  44. } // namespace BOOST_RT_PARAM_NAMESPACE
  45. } // namespace boost
  46. #endif // BOOST_RT_CONFIGURATION_HPP_062604GER