Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
blast_app_parameters.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2016 The Earlham Institute
3 **
4 ** Licensed under the Apache License, Version 2.0 (the "License");
5 ** you may not use this file except in compliance with the License.
6 ** You may obtain a copy of the License at
7 **
8 ** http://www.apache.org/licenses/LICENSE-2.0
9 **
10 ** Unless required by applicable law or agreed to in writing, software
11 ** distributed under the License is distributed on an "AS IS" BASIS,
12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ** See the License for the specific language governing permissions and
14 ** limitations under the License.
15 */
16 
21 /*
22  * blast_app_parameters.hpp
23  *
24  * Created on: 19 Oct 2016
25  * Author: billy
26  */
27 
28 #ifndef SERVER_SRC_SERVICES_BLAST_INCLUDE_BLAST_APP_PARAMETERS_H_
29 #define SERVER_SRC_SERVICES_BLAST_INCLUDE_BLAST_APP_PARAMETERS_H_
30 
31 
32 #include "blast_service_api.h"
33 #include "parameter_set.h"
34 //#include "args_processor.hpp"
35 
36 
37 /* forward declaration */
38 struct BlastServiceData;
39 struct ArgsProcessor;
40 
48 {
59  bool (*bap_parse_params_fn) (const struct BlastServiceData *data_p, ParameterSet *params_p, struct ArgsProcessor *ap_p);
61 
62 
63 #ifdef __cplusplus
64 extern "C"
65 {
66 #endif
67 
68 
81 BLAST_SERVICE_LOCAL bool ParseBlastAppParameters (BlastAppParameters *app_p, const struct BlastServiceData *data_p, ParameterSet *params_p, struct ArgsProcessor *ap_p);
82 
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 
89 #endif /* SERVER_SRC_SERVICES_BLAST_INCLUDE_BLAST_APP_PARAMETERS_H_ */
BlastAppParameters
This datatype is used to parse a given ParameterSet in a method suitable for a particular BLAST confi...
Definition: blast_app_parameters.h:47
parameter_set.h
BlastServiceData
The configuration data for the Blast Service.
Definition: blast_service.h:143
blast_service_api.h
BLAST_SERVICE_LOCAL
#define BLAST_SERVICE_LOCAL
Definition: blast_service_api.h:48
ParameterSet
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
ArgsProcessor
An ArgsProcessor is a class to abstract out how a particular BlastTool stores a value when an argumen...
Definition: args_processor.hpp:46
BlastAppParameters::ParseBlastAppParameters
bool ParseBlastAppParameters(BlastAppParameters *app_p, const struct BlastServiceData *data_p, ParameterSet *params_p, struct ArgsProcessor *ap_p)
Parse a given ParameterSet in a method suitable for a particular BLAST configuration defined by a giv...