クラス テンプレート rcsc::ParamGeneric< ValueType >

generic parameter [詳細]

#include <param_map.h>

rcsc::ParamGeneric< ValueType >に対する継承グラフ

rcsc::ParamEntity すべてのメンバ一覧

Public メソッド

 ParamGeneric (const std::string &long_name, const std::string &short_name, ValueType *value_ptr, const char *description="")
 constructor
bool isString () const
 check if this parameter is string 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

説明

template<typename ValueType>
class rcsc::ParamGeneric< ValueType >

generic parameter


コンストラクタとデストラクタ

template<typename ValueType>
rcsc::ParamGeneric< ValueType >::ParamGeneric ( const std::string &  long_name,
const std::string &  short_name,
ValueType *  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)


関数

template<typename ValueType>
bool rcsc::ParamGeneric< ValueType >::isString (  )  const [inline, virtual]

check if this parameter is string type or not.

戻り値:
true if this parameter is string type..

rcsc::ParamEntityを再定義しています。

template<typename ValueType>
bool rcsc::ParamGeneric< ValueType >::analyze ( const std::string &  value_str  )  [inline, virtual]

analyze value string and substitute it to variable.

引数:
value_str string that contains value
戻り値:
boolean status of analysis result

rcsc::ParamEntityを実装しています。

template<typename ValueType>
std::ostream& rcsc::ParamGeneric< ValueType >::printValue ( std::ostream &  os  )  const [inline, virtual]

print value to stream

引数:
os reference to the stream
戻り値:
reference to the stream

rcsc::ParamEntityを実装しています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:26 2008に生成されました。  doxygen 1.5.0