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.
args_processor.hpp
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
* args_processor.hpp
23
*
24
* Created on: 27 Oct 2016
25
* Author: billy
26
*/
27
28
#ifndef SERVER_SRC_SERVICES_BLAST_INCLUDE_ARGS_PROCESSOR_HPP_
29
#define SERVER_SRC_SERVICES_BLAST_INCLUDE_ARGS_PROCESSOR_HPP_
30
31
#include "
blast_service_api.h
"
32
33
34
#ifdef __cplusplus
35
extern
"C"
36
{
37
#endif
38
46
class
BLAST_SERVICE_LOCAL
ArgsProcessor
47
{
48
public
:
52
ArgsProcessor
();
53
57
virtual
~
ArgsProcessor
();
58
69
virtual
bool
AddArg
(
const
char
*arg_s,
const
bool
hyphen_flag) = 0;
70
};
71
72
73
#ifdef __cplusplus
74
}
75
#endif
76
77
78
#endif
/* SERVER_SRC_SERVICES_BLAST_INCLUDE_ARGS_PROCESSOR_HPP_ */
AddArg
bool AddArg(const char *arg_s, ArgsProcessor *ap_p, bool hyphen_flag)
Add the argument to the command line arguments stored in a ByteBuffer.
blast_service_api.h
BLAST_SERVICE_LOCAL
#define BLAST_SERVICE_LOCAL
Definition:
blast_service_api.h:48
ArgsProcessor
An ArgsProcessor is a class to abstract out how a particular BlastTool stores a value when an argumen...
Definition:
args_processor.hpp:46
services
blast
include
args_processor.hpp
Generated on Mon Feb 26 2024 17:00:09 for Grassroots Infrastructure by
1.8.16