設定項目の構造体。 [詳細]
#include <readconf.h>

変数 | |
| char * | name |
| 項目名。 [詳細] | |
| RCValueType | type |
| 項目の型。 [詳細] | |
| char * | defaultAsString |
| デフォルト値の文字列表現。 [詳細] | |
| RCValidator | validator |
| 読み込んだ値を検証する関数。 [詳細] | |
| RCConvertor | convertor |
| 読み込んだ値文字列を数値に変換する関数。 [詳細] | |
| RCConfValue | defaultValue |
| デフォルト値。 [詳細] | |
| RCConfValue | value |
| 読み込んだ値。 [詳細] | |
| size_t | lineNo |
| 読み込んだ時の行番号。 [詳細] | |
設定項目の構造体。
この構造体は、 readconf() が読み込むべき設定項目の名前と デフォルト値を指定するのに、アプリケーションによって使用されます。 また、読み込んだ設定項目の値を格納する場所としても readconf() によって使用されます。
readconf.h の 78 行で定義されています。
| RCConvertor RCConfItem::convertor |
| char* RCConfItem::defaultAsString |
| RCConfValue RCConfItem::defaultValue |
デフォルト値。
readconf.h の 91 行で定義されています。
参照元 initialize(), RCFreeStringValueInItems(), readBool(), readInteger(), readReal(), と readValue().
| size_t RCConfItem::lineNo |
読み込んだ時の行番号。
readconf.h の 95 行で定義されています。
参照元 initialize(), readBool(), readExpression(), readInteger(), readReal(), と readString().
| char* RCConfItem::name |
項目名。
readconf.h の 81 行で定義されています。
参照元 findItem(), initialize(), readBool(), readInteger(), readReal(), と readValue().
| RCValueType RCConfItem::type |
| RCValidator RCConfItem::validator |
| RCConfValue RCConfItem::value |
読み込んだ値。
readconf.h の 93 行で定義されています。
参照元 initialize(), RCFreeStringValueInItems(), readBool(), readInteger(), readReal(), readString(), readValue(), と setValue().
1.8.5