Apollo  v5.5.0
Open source self driving car software
Public Member Functions | Protected Attributes | Friends | List of all members
apollo::perception::benchmark::OptionParser Class Reference

#include <option_parser.h>

Inheritance diagram for apollo::perception::benchmark::OptionParser:
Inheritance graph
Collaboration diagram for apollo::perception::benchmark::OptionParser:
Collaboration graph

Public Member Functions

 OptionParser ()=default
 
virtual ~OptionParser ()=default
 
bool parse_from_string (const std::string &input)
 
virtual bool set_options () const
 

Protected Attributes

std::map< std::string, std::set< std::string > > _options
 

Friends

std::ostream & operator<< (std::ostream &out, const OptionParser &rhs)
 

Constructor & Destructor Documentation

◆ OptionParser()

apollo::perception::benchmark::OptionParser::OptionParser ( )
default

◆ ~OptionParser()

virtual apollo::perception::benchmark::OptionParser::~OptionParser ( )
virtualdefault

Member Function Documentation

◆ parse_from_string()

bool apollo::perception::benchmark::OptionParser::parse_from_string ( const std::string &  input)

◆ set_options()

virtual bool apollo::perception::benchmark::OptionParser::set_options ( ) const
inlinevirtual

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const OptionParser rhs 
)
friend

Member Data Documentation

◆ _options

std::map<std::string, std::set<std::string> > apollo::perception::benchmark::OptionParser::_options
protected

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