#include <param_map.h>
rcsc::ParamSwitchに対する継承グラフ
Public メソッド | |
ParamSwitch (const std::string &long_name, const std::string &short_name, bool *value_ptr, const char *description="") | |
constructor | |
virtual bool | isSwitch () const |
(virtual) check if this parameter is switch type or not. | |
bool | analyze (const std::string &value_str) |
analyze value string and substitute it to variable. | |
std::ostream & | printValue (std::ostream &os) const |
print value to stream |
rcsc::ParamSwitch::ParamSwitch | ( | const std::string & | long_name, | |
const std::string & | short_name, | |||
bool * | value_ptr, | |||
const char * | description = "" | |||
) | [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) |
virtual bool rcsc::ParamSwitch::isSwitch | ( | ) | const [inline, virtual] |
(virtual) check if this parameter is switch type or not.
rcsc::ParamEntityを再定義しています。
bool rcsc::ParamSwitch::analyze | ( | const std::string & | value_str | ) | [virtual] |
analyze value string and substitute it to variable.
value_str | string that contains value |
rcsc::ParamEntityを実装しています。
std::ostream & rcsc::ParamSwitch::printValue | ( | std::ostream & | os | ) | const [virtual] |
print value to stream
os | reference to the stream |
rcsc::ParamEntityを実装しています。