Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/test/utils/runtime/configuration.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
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 | |
6 // See http://www.boost.org/libs/test for the library home page. | |
7 // | |
8 // File : $RCSfile$ | |
9 // | |
10 // Version : $Revision: 49312 $ | |
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: | |
36 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 | |
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 #endif // BOOST_RT_CONFIGURATION_HPP_062604GER |