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
features
BatchFeatures.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/features/BatchFeatures.hh
11
///
12
/// @brief
13
/// @author Tim Jacobs
14
15
#ifndef INCLUDED_protocols_features_BatchFeatures_HH
16
#define INCLUDED_protocols_features_BatchFeatures_HH
17
18
// Unit Headers
19
#include <
protocols/features/FeaturesReporter.hh
>
20
#include <
protocols/features/BatchFeatures.fwd.hh
>
21
22
// Project Headers
23
#include <
core/types.hh
>
24
#include <utility/vector1.fwd.hh>
25
#include <utility/exit.hh>
26
27
// C++ Headers
28
#include <string>
29
30
#include <utility/vector1.hh>
31
32
namespace
protocols{
33
namespace
features{
34
35
class
BatchFeatures
:
public
protocols::features::FeaturesReporter
{
36
public
:
37
BatchFeatures
();
38
39
BatchFeatures
(
BatchFeatures
const
& src );
40
41
virtual
~BatchFeatures
();
42
43
///@brief return string with class name
44
std::string
45
type_name
()
const
;
46
47
///@brief generate the table schemas and write them to the database
48
virtual
void
49
write_schema_to_db
(utility::sql_database::sessionOP db_session)
const
;
50
51
///@brief return the set of features reporters that are required to
52
///also already be extracted by the time this one is used.
53
utility::vector1<std::string>
54
features_reporter_dependencies
()
const
;
55
56
///@brief return sql statements that setup helpful indices on the tables
57
std::string
58
indices
()
const
;
59
60
///@brief return sql statments that add indexes check invariants etc.
61
//std::string cleanup() const;
62
63
core::Size
64
report_features
(
65
core::Size
batch_id,
66
core::Size
protocol_id,
67
std::string
name,
68
std::string
description,
69
utility::sql_database::sessionOP db_session);
70
71
core::Size
72
report_features
(
73
core::pose::Pose
const
&,
74
utility::vector1< bool >
const
&,
75
boost::uuids::uuid,
76
utility::sql_database::sessionOP){
77
utility_exit_with_message(
78
"The batch features reporter is a special feature reporter that "
79
"represents a set of features extracted at once. Please use the other "
80
"interface for report_features"
);
81
return
0;
82
}
83
84
};
85
86
}
// features namespace
87
}
// protocols namespace
88
89
#endif
Generated on Sat Jun 1 2013 11:48:56 for Rosetta 3.5 by
1.8.4