フィールドコレクションクラス [詳解]
#include <fields.h>
公開メンバ関数 | |
fields (table &tb) | |
fields (table_ptr tb) | |
void | clear () |
field | inproc_fd (short index) const |
short | inproc_size () const |
table & | tb () const |
基底クラス fieldsBase に属する継承公開メンバ関数 | |
virtual | ~fieldsBase () |
field | fd (short index) const |
field | fd (const _TCHAR *name) const |
const fielddefs * | fieldDefs () const |
field | getFieldNoCheck (short index) const |
short | indexByName (const _TCHAR *name) const |
bool | isInvalidRecord () const |
field | operator[] (short index) const |
field | operator[] (const _TCHAR *name) const |
field | operator[] (const std::_tstring &name) const |
void | setInvalidRecord (bool v) |
size_t | size () const |
フィールドコレクションクラス
|
inlinevirtual |
すべてのフィールドの値をクリアします。インラインで table::clearBuffer()を呼び出します。
fieldsBaseを実装しています。
現在処理中のフィルターのselectで指定されたフィールドリストからindexで指定されたフィールドを返します。 フィールドリストの数は inproc_size() で取得できます。
処理中のフィルターは、 table::setFilter() table::setQuery() table::prepare() のいずれかで最後に正しく指定されたフィルターです。
以下は使用例です。
|
inline |
現在処理中のフィルターのselectで指定されたフィールドの数を返します。
|
inline |
コンストラクタで指定されたテーブルへの参照を返します。