関数 |
| mist::options::arg::arg (const std::string &aname="", const std::string &text="", const std::string &val="", bool hasValue=false) |
| デフォルトコンストラクタ
|
| mist::options::arg::arg (const arg &p) |
| コピーコンストラクタ
|
| mist::options::options (const std::string header="", const std::string footer="") |
| デフォルトコンストラクタ
|
| mist::options::options (const options &o) |
| コピーコンストラクタ
|
bool | mist::options::__isset__ (const std::string &name, std::string &val) const |
| オプションに指定されている値を取得する
|
void | mist::options::add (const std::string &name, const std::string &comment) |
| 値無しのオプションを追加する
|
void | mist::options::add (const std::string &name, const std::string &comment, const std::string &default_value) |
| 値を含むオプションを追加する(デフォルト値を指定するとオプションが指定されない場合も値を取得可能)
|
void | mist::options::add (const std::string &name, const std::string &comment, int default_value) |
| 値を含むオプションを追加する(デフォルト値を指定するとオプションが指定されない場合も値を取得可能)
|
void | mist::options::add (const std::string &name, const std::string &comment, double default_value) |
| 値を含むオプションを追加する(デフォルト値を指定するとオプションが指定されない場合も値を取得可能)
|
bool | mist::options::isset (const std::string &name) const |
| オプションがコマンドライン引数無いに指定されたかどうかを調べる
|
const std::string | mist::options::get_string (const std::string &name) const |
| オプションに指定された文字列を取得する
|
int | mist::options::get_int (const std::string &name) const |
| オプションに指定された値を取得する
|
double | mist::options::get_double (const std::string &name) const |
| オプションに指定された値を取得する
|
void | mist::options::show_help () const |
| オプションの一覧を標準出力に表示する
|
bool | mist::options::parse_args (int argc, char *argv[]) |
| プログラム引数を解析して,オプションとの対応関係を求める
|