~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/test/utils/runtime/configuration.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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