Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
nonlocal
PolicyFactory.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file protocols/nonlocal/PolicyFactory.hh
11
/// @author Christopher Miles (cmiles@uw.edu)
12
13
#ifndef INCLUDED_PROTOCOLS_NONLOCAL_POLICYFACTORY_HH
14
#define INCLUDED_PROTOCOLS_NONLOCAL_POLICYFACTORY_HH
15
16
// C/C++ headers
17
#include <string>
18
19
// Project headers
20
#include <
core/types.hh
>
21
#include <
core/fragment/FragSet.fwd.hh
>
22
23
// Package headers
24
#include <
protocols/nonlocal/Policy.fwd.hh
>
25
26
27
namespace
protocols {
28
namespace
nonlocal {
29
30
class
PolicyFactory
{
31
public
:
32
/// @brief If a valid policy name was provided, returns a Policy object of the
33
/// given type, exits otherwise. The resulting instance is constructed with a
34
/// copy of the given set of fragments, which may be optionally filtered by
35
/// rank (see num_fragments).
36
static
PolicyOP
get_policy
(
const
std::string
& policy_name,
37
core::fragment::FragSetCOP
fragments,
38
core::Size
num_fragments =
core::SZ_MAX
);
39
};
40
41
}
// namespace nonlocal
42
}
// namespace protocols
43
44
#endif // PROTOCOLS_NONLOCAL_POLICYFACTORY_HH_
Generated on Sat Jun 1 2013 12:01:43 for Rosetta 3.5 by
1.8.4