Antenna House PDF Tool API (C++) 8.0
PdfTk::PtlFields クラス

#include <PtlFields.h>

公開メンバ関数

int getHandle () const
 PtlFields ()
 コンストラクタ
 PtlFields (const PtlFields &obj)
 コピーコンストラクタ alias copy
 ~PtlFields ()
 デストラクタ
PtlFieldsoperator= (const PtlFields &obj)
 コピーオペレータ alias copy
bool isEmpty () const
 空かどうかを取得。
int getCount () const
 PtlField数を取得。
PtlFieldget (int index)
 フィールドを取得。
void append (PtlField &field)
 フィールド追加。

詳解

PtlFieldのコンテナを表現するクラスです。

PtlFields.h17 行目に定義があります。

構築子と解体子

◆ PtlFields() [1/2]

PdfTk::PtlFields::PtlFields ( )

コンストラクタ

例外
PtlException

◆ PtlFields() [2/2]

PdfTk::PtlFields::PtlFields ( const PtlFields & obj)

コピーコンストラクタ alias copy

引数
objコピー元オブジェクト。
例外
PtlException

関数詳解

◆ append()

void PdfTk::PtlFields::append ( PtlField & field)

フィールド追加。

フィールド追加します。

引数
annot注釈

◆ get()

PtlField & PdfTk::PtlFields::get ( int index)

フィールドを取得。

指定した番号のフィールドを取得します。

引数
indexIndex番号。0が先頭。
indexが負やフィールド数以上の場合は、例外が発生します。
戻り値
PtlField。
例外
PtlException

◆ getCount()

int PdfTk::PtlFields::getCount ( ) const

PtlField数を取得。

戻り値
PtlField数。
例外
PtlException

◆ isEmpty()

bool PdfTk::PtlFields::isEmpty ( ) const

空かどうかを取得。

戻り値
true: 空、false: 空ではない。
例外
PtlException

◆ operator=()

PtlFields & PdfTk::PtlFields::operator= ( const PtlFields & obj)

コピーオペレータ alias copy

引数
objコピー元オブジェクト。