ColumnCollection
סקירה כללית
ColumnCollection הוא שיעור ב Aspose.Slides FOSS עבור C++.
מציג אוסף של עמודים בטבלה.
שיעור זה מספק 19 שיטות לעבוד עם אובייקטים ColumnCollection בתוכניות C++. שיטות זמינות כוללות: ColumnCollection, add, add_clone, as_i_collection, as_i_enumerable, begin, clear, const_iterator, end, insert_clone, iterator, remove_at,2 שיטות נוספות. כל החברים הציבוריים זמינים לכל יישום C++ לאחר התקנת Aspose.Slides FOSS עבור חבילת C+. רכוש : const_iterator, iterator.
נכסים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
iterator | 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*> | החזיר תמונה של העמודים כסימנים ירוקים (כמו כמו_i_collection). |
begin() → iterator | |
end() → iterator | |
begin() → const_iterator | |
end() → const_iterator |