|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
specialized template class More...
#include <param_map.h>


Public Member Functions | |
| ParamGeneric (const std::string &long_name, const std::string &short_name, bool *value_ptr, const char *description="") | |
| constructor More... | |
| ParamGeneric (const std::string &long_name, const std::string &short_name, const NegateBool &value, const char *description="") | |
| constructor More... | |
| bool | analyze (const std::string &value_str) |
| analyze value string and substitute it to variable. More... | |
| std::ostream & | printValue (std::ostream &os) const |
| print value to stream More... | |
Public Member Functions inherited from rcsc::ParamEntity | |
| virtual | ~ParamEntity () |
| destructor as virtual method | |
| const std::string & | longName () const |
| get long name of parameter More... | |
| const std::string & | shortName () const |
| get long name of parameter More... | |
| const std::string & | description () const |
| get description message More... | |
| std::string | helpName () const |
| get the formatted name string for help messages More... | |
| virtual bool | isSwitch () const |
| (virtual) check if this parameter is switch type or not. More... | |
| virtual bool | analyze (const std::string &value_str)=0 |
| pure virtual method. analyze value string. More... | |
| virtual std::ostream & | printFormat (std::ostream &os) const |
| print help name strings More... | |
| virtual std::ostream & | printValue (std::ostream &os) const =0 |
| pure virtual method. print value to stream More... | |
Additional Inherited Members | |
Public Types inherited from rcsc::ParamEntity | |
| typedef std::shared_ptr< ParamEntity > | Ptr |
| ParamEntity smart pointer type. | |
Protected Member Functions inherited from rcsc::ParamEntity | |
| ParamEntity (const std::string &long_name, const std::string &short_name, const char *description="") | |
| construct with all arguments More... | |
specialized template class
|
inline |
constructor
| long_name | parameter's long name string |
| short_name | parameter's short name string(ommitable) |
| value_ptr | pointer to variable instance |
| description | description message(ommitable) |
|
inline |
constructor
| long_name | parameter's long name string |
| short_name | parameter's short name string(ommitable) |
| value | negate bool object |
| description | description message(ommitable) |
|
virtual |
analyze value string and substitute it to variable.
| value_str | string that contains value |
Implements rcsc::ParamEntity.
|
virtual |
print value to stream
| os | reference to the stream |
Implements rcsc::ParamEntity.