BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
STRUCTURE
sideChainPlacementProcessor.h
Go to the documentation of this file.
1
#ifndef BALL_STRUCTURE_SIDECHAINPLACEMENTPROCESSOR_H
2
#define BALL_STRUCTURE_SIDECHAINPLACEMENTPROCESSOR_H
3
4
#ifndef BALL_CONCEPT_PROCESSOR_H
5
#include <
BALL/CONCEPT/processor.h
>
6
#endif
7
8
#ifndef BALL_KERNEL_ATOMCONTAINER_H
9
#include <
BALL/KERNEL/atomContainer.h
>
10
#endif
11
12
#ifndef BALL_DATATYPE_OPTIONS_H
13
# include <
BALL/DATATYPE/options.h
>
14
#endif
15
16
namespace
BALL
17
{
46
class
BALL_EXPORT
SideChainPlacementProcessor
47
:
public
UnaryProcessor
<AtomContainer>
48
{
49
public
:
50
54
55
struct
BALL_EXPORT
Option
56
{
59
static
const
char
*
METHOD
;
60
63
static
const
char
*
SCWRL_BINARY_PATH
;
64
71
static
const
char
*
SCWRL_INPUT_FILE
;
72
79
static
const
char
*
SCWRL_SEQUENCE_FILE
;
80
90
static
const
char
*
SCWRL_OUTPUT_FILE
;
91
94
static
const
char
*
MUTATE_SELECTED_SIDE_CHAINS
;
95
96
};
97
99
struct
BALL_EXPORT
Default
100
{
101
static
const
String
METHOD
;
102
static
const
String
SCWRL_BINARY_PATH
;
103
static
const
bool
MUTATE_SELECTED_SIDE_CHAINS
;
104
static
const
String
SCWRL_INPUT_FILE
;
105
static
const
String
SCWRL_SEQUENCE_FILE
;
106
static
const
String
SCWRL_OUTPUT_FILE
;
107
};
108
109
struct
BALL_EXPORT
Method
110
{
114
static
const
String
SCWRL_4_0
;
115
//static const String SCWRL_SERVER;
116
//static const String ILP;
117
};
118
120
121
BALL_CREATE
(
SideChainPlacementProcessor
);
122
126
128
SideChainPlacementProcessor
();
129
131
SideChainPlacementProcessor
(
const
SideChainPlacementProcessor
& scpp);
132
134
virtual
~
SideChainPlacementProcessor
();
136
140
142
virtual
bool
start();
143
148
void
clear();
149
164
virtual
Processor::Result
operator ()(
AtomContainer
& ac);
165
167
virtual
bool
finish();
168
170
174
177
void
setDefaultOptions();
178
181
void
setMutations
(
String
mutated_seq) {mutated_sequence_ = mutated_seq;}
182
185
const
String
&
getMutations
()
const
{
return
mutated_sequence_;}
186
189
String
getMutations
() {
return
mutated_sequence_;}
190
192
195
197
SideChainPlacementProcessor
& operator = (
const
SideChainPlacementProcessor
& scpp);
198
199
201
204
205
Options
options
;
206
208
209
protected
:
215
bool
readOptions_();
216
218
String
mutated_sequence_
;
219
220
// The processor state.
221
bool
valid_
;
222
223
};
224
225
}
// namespace BALL
226
227
228
#endif // BALL_STRUCTURE_SIDECHAINPLACEMENTPROCESSOR_H
Generated by
1.8.3.1