Public Member Functions | Private Attributes | List of all members
CommandLineParser Class Reference

#include <command_line_parser.h>

Public Member Functions

 CommandLineParser (int _argc, char **_argv)
 
std::string operator() (std::string param, std::string def_value="-1")
 
bool operator[] (std::string param)
 

Private Attributes

int argc
 
char ** argv
 

Detailed Description

Definition at line 10 of file command_line_parser.h.

Constructor & Destructor Documentation

CommandLineParser::CommandLineParser ( int  _argc,
char **  _argv 
)

Definition at line 9 of file command_line_parser.cpp.

Member Function Documentation

std::string CommandLineParser::operator() ( std::string  param,
std::string  def_value = "-1" 
)

Definition at line 25 of file command_line_parser.cpp.

bool CommandLineParser::operator[] ( std::string  param)

Definition at line 11 of file command_line_parser.cpp.

Member Data Documentation

int CommandLineParser::argc
private

Definition at line 13 of file command_line_parser.h.

char** CommandLineParser::argv
private

Definition at line 14 of file command_line_parser.h.


The documentation for this class was generated from the following files:


pheeno_ros
Author(s): Zahi Kakish, Sean Wilson
autogenerated on Mon Jun 10 2019 14:10:48