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
simple_filters
BatchNrEvaluator.cc
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 PoseEvaluator
11
/// @brief PoseEvaluator
12
/// @detailed
13
///
14
///
15
/// @author Oliver Lange
16
17
18
19
// Unit Headers
20
#include <
protocols/simple_filters/BatchNrEvaluator.hh
>
21
22
// Package Headers
23
#include <
protocols/jd2/JobDistributor.hh
>
24
25
// Project Headers
26
#include <
core/io/silent/SilentStruct.hh
>
27
// AUTO-REMOVED #include <core/pose/Pose.hh>
28
29
// ObjexxFCL Headers
30
// AUTO-REMOVED #include <ObjexxFCL/string.functions.hh>
31
32
// Utility headers
33
// AUTO-REMOVED #include <basic/Tracer.hh>
34
// AUTO-REMOVED #include <core/scoring/rms_util.hh>
35
36
#include <utility/vector1.hh>
37
38
// C++ headers
39
40
41
namespace
protocols {
42
namespace
simple_filters {
43
44
using namespace
core;
45
46
core::Size
47
BatchNrEvaluator::apply
(
48
pose::Pose
&
49
)
const
{
50
using namespace
protocols::jd2;
51
return
JobDistributor::get_instance()->current_batch_id();
52
}
53
54
void
BatchEvaluator::apply
(
core::pose::Pose
&,
std::string
,
core::io::silent::SilentStruct
&pss )
const
{
55
using namespace
protocols::jd2;
56
pss.
add_string_value
( name( 1 ), JobDistributor::get_instance()->get_current_batch() );
57
}
58
59
60
}
61
}
Generated on Sat Jun 1 2013 12:12:58 for Rosetta 3.5 by
1.8.4