Main Page
Namespaces
Classes
Files
File List
File Members
include
pheeno_ros_sim
command_line_parser.h
Go to the documentation of this file.
1
//
2
// Created by acslab on 8/10/17.
3
//
4
5
#ifndef COMMAND_LINE_PARSER_H
6
#define COMMAND_LINE_PARSER_H
7
8
#include <string>
9
10
class
CommandLineParser
{
11
12
private
:
13
int
argc
;
14
char
**
argv
;
15
16
public
:
17
// Constructor
18
CommandLineParser
(
int
_argc,
char
**_argv);
19
20
// Modules
21
bool
operator[]
(std::string param);
22
std::string
operator()
(std::string param, std::string def_value=
"-1"
);
23
24
};
25
26
27
#endif // COMMAND_LINE_PARSER_H
CommandLineParser::argc
int argc
Definition:
command_line_parser.h:13
CommandLineParser::operator()
std::string operator()(std::string param, std::string def_value="-1")
Definition:
command_line_parser.cpp:25
CommandLineParser
Definition:
command_line_parser.h:10
CommandLineParser::CommandLineParser
CommandLineParser(int _argc, char **_argv)
Definition:
command_line_parser.cpp:9
CommandLineParser::operator[]
bool operator[](std::string param)
Definition:
command_line_parser.cpp:11
CommandLineParser::argv
char ** argv
Definition:
command_line_parser.h:14
pheeno_ros_sim
Author(s): Zahi Kakish
autogenerated on Mon Jun 10 2019 14:25:55