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

#include <input_parser.h>

Public Member Functions

bool cmdOptionExists (const std::string &option) const
 
template<typename T >
bool getCmdOption (const std::string &option, T &ret) const
 
 InputParser (int &argc, char **argv)
 

Private Attributes

std::vector< std::string > tokens
 

Detailed Description

Definition at line 4 of file input_parser.h.

Constructor & Destructor Documentation

InputParser::InputParser ( int &  argc,
char **  argv 
)
inline

Definition at line 7 of file input_parser.h.

Member Function Documentation

bool InputParser::cmdOptionExists ( const std::string &  option) const
inline

Definition at line 26 of file input_parser.h.

template<typename T >
bool InputParser::getCmdOption ( const std::string &  option,
T &  ret 
) const
inline

Definition at line 13 of file input_parser.h.

Member Data Documentation

std::vector<std::string> InputParser::tokens
private

Definition at line 32 of file input_parser.h.


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


rosflight_utils
Author(s):
autogenerated on Thu Apr 15 2021 05:10:07