blob: bf731736eeb38ff6671a3c49ef17a13271359c96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
// (C) Copyright Gennadiy Rozental 2005-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version : $Revision$
//
// Description : abstract interface for the formal parameter
// ***************************************************************************
#ifndef BOOST_TEST_UTILS_RUNTIME_CONFIGURATION_HPP
#define BOOST_TEST_UTILS_RUNTIME_CONFIGURATION_HPP
// Boost.Runtime.Parameter
#include <boost/test/utils/runtime/config.hpp>
#include <boost/test/utils/runtime/parameter.hpp>
#include <boost/test/utils/runtime/argument.hpp>
namespace boost {
namespace BOOST_TEST_UTILS_RUNTIME_PARAM_NAMESPACE {
// ************************************************************************** //
// ************** runtime::configuration ************** //
// ************************************************************************** //
class config_source {
virtual parameter const& config_param_begin() const = 0;
virtual parameter const& config_param_end() const = 0;
protected:
config_source() {}
~config_source() {}
};
// ************************************************************************** //
// ************** runtime::configuration ************** //
// ************************************************************************** //
template<typename StoragePolicy,typename IdentificationPlicy,typename ConflictResolutionPolicy>
class configuration : public StoragePolicy, public IdentificationPlicy, public ConflictResolutionPolicy {
public:
// Constructor
configuration();
void use( config_source const& )
{
}
private:
};
} // namespace BOOST_TEST_UTILS_RUNTIME_PARAM_NAMESPACE
} // namespace boost
#endif // BOOST_TEST_UTILS_RUNTIME_CONFIGURATION_HPP
|