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
jd2
SilentFileJobInputter.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/jd2/SilentFileJobInputter.hh
11
/// @brief header file for SilentFileJobInputter class
12
/// @author James Thompson
13
14
15
#ifndef INCLUDED_protocols_jd2_SilentFileJobInputter_hh
16
#define INCLUDED_protocols_jd2_SilentFileJobInputter_hh
17
18
//unit headers
19
#include <
protocols/jd2/JobInputter.hh
>
20
#include <
protocols/jd2/SilentFileJobInputter.fwd.hh
>
21
#include <
protocols/jd2/Job.fwd.hh
>
22
#include <
core/io/silent/SilentStruct.fwd.hh
>
23
//project headers
24
#include <
core/pose/Pose.fwd.hh
>
25
#include <
core/io/silent/SilentFileData.hh
>
26
27
#include <utility/vector1.hh>
28
29
30
//utility headers
31
32
namespace
protocols {
33
namespace
jd2 {
34
35
///@details This is the simplest implementation of JobInputter, which reads from -s/-l and SilentFile files.
36
class
SilentFileJobInputter
:
public
protocols::jd2::JobInputter
37
{
38
public
:
39
40
SilentFileJobInputter
();
41
42
virtual
~SilentFileJobInputter
();
43
44
/// @brief this function is responsible for filling the pose reference with
45
/// the pose indicated by the job. The Job object (within its InnerJob)
46
/// contains a PoseCOP. This function needs to either fill the pose
47
/// reference from the InnerJob or, on first demand of a pose from that
48
/// InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill
49
/// the reference. This implementation uses pose_from_pdb
50
virtual
void
pose_from_job
(
core::pose::Pose
& pose,
JobOP
job );
51
52
/// @brief this function returns the SilentStruct that belongs to the given job
53
virtual
core::io::silent::SilentStruct
const
&
struct_from_job
(
JobOP
job );
54
55
/// @brief this function determines what jobs exist from -in::file::silent and
56
/// -in::file::tags.
57
virtual
void
fill_jobs
(
Jobs
& jobs );
58
59
/// @brief Return the type of input source that the SilentFileJobInputter is currently
60
/// using.
61
/// @return Always <em>SILENT_FILE</em>.
62
virtual
JobInputterInputSource::Enum
input_source
()
const
;
63
64
core::io::silent::SilentFileData
const
&
silent_file_data
()
const
{
return
sfd_
; };
65
66
private
:
67
core::io::silent::SilentFileData
sfd_
;
68
// utility::vector1< FileName > silent_files_;
69
};
// SilentFileJobInputter
70
71
}
// namespace jd2
72
}
// namespace protocols
73
74
#endif //INCLUDED_protocols_jd2_SilentFileJobInputter_HH
Generated on Sat Jun 1 2013 11:55:17 for Rosetta 3.5 by
1.8.4