PortionCollection
ภาพรวม
PortionCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ C++.
จัดการรวมส่วนของข้อความภายในบท.
หมวดนี้ให้ 27 วิธีในการทํางานกับวัตถุ PortionCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: ConstIterator, Iterator, PortionCollection, add, as_i_enumerable, begin, clear, contains, count, end, index_of, init_internal,และ 7 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: ConstIterator, Iterator, PortionCollection, pointer, reference.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
PortionCollection | PortionCollection | อ่าน | รับคอลเลกชันส่วน. |
reference | reference | อ่าน | รับอ้างอิง. |
pointer | pointer | อ่าน | รับพอยน์เตอร์. |
Iterator | Iterator | อ่าน | รับตัวทำซ้ำ. |
ConstIterator | ConstIterator | อ่าน | รับ iterator คงที่. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
PortionCollection() → PortionCollection | ที่ดินให้บริการเข้าถึงสะสมของตัวเอง |
reference() → reference | การส่งกลับตัวแปรที่อ้างอิงไปยังคอลเลกชั่นเบื้องต้น |
pointer() → pointer | อสังหาริมทรัพย์ให้การชี้แนะถึงสะสมที่อยู่เบื้องหลัง |
Iterator() → Iterator | สร้างตัวอิเทเรเตอร์ใหม่ที่ตั้งอยู่จุดเริ่มต้นของคอลเลกชั่น |
Iterator() → Iterator | |
reference() → reference | |
pointer() → pointer | |
ConstIterator() → ConstIterator | |
ConstIterator() → ConstIterator | |
PortionCollection() | |
init_internal(p_element: pugi::xml_node, txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | เริ่มต้นจาก XML, เข้าสู่โหมดที่รองรับด้วย XML. |
size() → std::size_t | กลับจํานวนส่วนของอาหาร. |
count() → std::size_t | การส่งจํานวนส่วน (ชื่อที่ใช้สําหรับขนาด) () กลับ. |
is_read_only() → bool | กลับข้อมูลที่ว่าการรวมเป็นอ่านเท่านั้นหรือไม่. |
add(portion: Portion) → Portion | เพิ่มส่วนหนึ่งไปสู่ปลายของสะสม. |
index_of(item: Portion) → std::optional<std::size_t> | ส่งผลการแสดงตัวของส่วนที่ให้ไว้, หรือ std::nullopt หากไม่พบ. |
insert(index: std::size_t, portion: Portion) → Portion | การใส่ส่วนที่อัตรานิยมให้. |
clear() | ยกเลิกทุกส่วน. |
contains(item: Portion) → bool | กลับ true หากคอลเลกชั่นมีส่วนที่ให้ไว้. |
remove(item: Portion) → bool | ลบส่วนที่ให้จากคอลเลกชั่น. |
remove_at(index: std::size_t) | ลบส่วนที่อยู่ในอัตราการแสดงตัวให้เห็น. |
as_i_enumerable() → IPortionCollection | กลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป. |
as_i_enumerable() → IPortionCollection | กลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป. |
begin() → Iterator | การคืนตัวอิเทเรเตอร์ไปยังส่วนแรก |
end() → Iterator | การคืนการคัดสรรหลังส่วนสุดท้าย |
begin() → ConstIterator | |
end() → ConstIterator |