source: NonGTP/Boost/boost/test/utils/runtime/configuration.hpp @ 857

Revision 857, 2.3 KB checked in by igarcia, 19 years ago (diff)
Line 
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 $
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
23namespace boost {
24
25namespace BOOST_RT_PARAM_NAMESPACE {
26
27// ************************************************************************** //
28// **************            runtime::configuration            ************** //
29// ************************************************************************** //
30
31class config_source {
32    virtual parameter const& config_param_begin() const = 0;
33    virtual parameter const& config_param_end() const   = 0;
34
35protected:
36    config_source()     {}
37    ~config_source()    {}
38};
39
40// ************************************************************************** //
41// **************            runtime::configuration            ************** //
42// ************************************************************************** //
43
44template<typename StoragePolicy,typename IdentificationPlicy,typename ConflictResolutionPolicy>
45class configuration : public StoragePolicy, public IdentificationPlicy, public ConflictResolutionPolicy {
46public:
47    // Constructor
48    configuration();
49
50    void    use( config_source const& )
51    {
52
53    }
54private:
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  2005/04/12 06:42:42  rogeeff
66//   Runtime.Param library initial commit
67//
68// ************************************************************************** //
69
70#endif // BOOST_RT_CONFIGURATION_HPP_062604GER
Note: See TracBrowser for help on using the repository browser.