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.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
iterator | iterator | 읽기 | 반복자를 가져옵니다. |
const_iterator | const_iterator | 읽기 | const 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 |