ColumnCollection

ColumnCollection

概要

ColumnCollection は Aspose.Slides の C++ 用 FOSS に含まれるクラスです。

テーブルの列の集合を表します。

このクラスは C++ プログラムで ColumnCollection オブジェクトを操作するための 19 のメソッドを提供します。利用可能なメソッドは ColumnCollection、add、add_clone、as_i_collection、as_i_enumerable、begin、clear、const_iterator、end、insert_clone、iterator、remove_at、および追加の 2 つのメソッドです。Aspose.Slides の C++ 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の C++ アプリケーションから利用可能です。プロパティ: const_iterator、iterator。

プロパティ

名前型アクセス説明
iteratoriterator読み取りイテレータを取得します。
const_iteratorconst_iterator読み取り定数イテレータを取得します。

メソッド

シグネチャ説明
iterator() → iteratorこのプロパティは、コレクション内の最初の列へのイテレータを提供します。
iterator() → iterator
const_iterator() → const_iteratorプロパティは、読み取り専用アクセスのために最初の列への const イテレータを提供します
const_iterator() → const_iterator
ColumnCollection()
~ColumnCollection()
size() → std::size_t列の数を返します。
add(col: std::unique_ptr<Column>) → Columnコレクションに列を追加します。
add_clone(templ: Column, with_attached_columns: bool) → std::vector<Column*>指定されたテンプレート列をクローンし、末尾に追加します。
insert_clone(index: std::size_t, templ: Column, with_attached_columns: bool) → std::vector<Column*>指定されたテンプレート列をクローンし、指定されたインデックスに挿入します。
remove_at(first_column_index: std::size_t, with_attached_rows: bool)指定されたインデックスの列を削除します。
remove_at(index: std::size_t)指定されたインデックスの列を削除します。
clear()すべての列を削除します。
as_i_collection() → std::vector<Column*>列のスナップショットを生ポインタとして返します。
as_i_enumerable() → std::vector<Column*>列のスナップショットを生ポインタとして返します(as_i_collection と同じ)。
begin() → iterator
end() → iterator
begin() → const_iterator
end() → const_iterator

参照

 日本語