MasterLayoutSlideCollection
Overview
MasterLayoutSlideCollection is a class in Aspose.Slides FOSS for C++.
Represents a collection of all layout slides of a defined master slide. Extends LayoutSlideCollection with methods for adding/inserting/removing/ cloning/reordering layout slides in the context of the individual collections of master’s layout slides.
This class declares 37 methods for MasterLayoutSlideCollection objects in C++ programs.
Available methods include: ILayoutSlide, MasterLayoutSlideCollection, add, as_i_collection, as_i_enumerable, begin, cbegin, cend, const_iterator, end, get_by_type, init_internal, and 5 additional methods.
Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Accessor methods: ILayoutSlide, MasterLayoutSlideCollection, const_iterator, iterator, pointer, reference.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
MasterLayoutSlideCollection | MasterLayoutSlideCollection | Read | Gets the master layout slide collection. |
ILayoutSlide | ILayoutSlide | Read | Gets the i layout slide. |
reference | reference | Read | Gets the reference. |
pointer | pointer | Read | Gets the pointer. |
iterator | iterator | Read | Gets the iterator. |
const_iterator | const_iterator | Read | Gets the const iterator. |
Methods
| Signature | Description |
|---|---|
MasterLayoutSlideCollection() → MasterLayoutSlideCollection | Creates a new collection instance |
ILayoutSlide() → ILayoutSlide | Returns the layout slide at the given index. |
ILayoutSlide() → ILayoutSlide | Property gives direct access to an ILayoutSlide object |
ILayoutSlide() → ILayoutSlide | Finds the first layout slide matching the given type, or nullptr if none. |
reference() → reference | Returns a reference to the current layout slide |
pointer() → pointer | Calls pointer on this MasterLayoutSlideCollection instance. |
iterator() → iterator | Property provides an iterator for collection traversal |
iterator() → iterator | |
iterator() → iterator | |
iterator() → iterator | |
reference() → reference | |
pointer() → pointer | |
const_iterator() → const_iterator | Returns a const iterator for read‑only traversal |
const_iterator() → const_iterator | |
const_iterator() → const_iterator | |
const_iterator() → const_iterator | |
iterator() → iterator | |
iterator() → iterator | |
const_iterator() → const_iterator | |
const_iterator() → const_iterator | |
const_iterator() → const_iterator | |
const_iterator() → const_iterator | |
MasterLayoutSlideCollection() | |
~MasterLayoutSlideCollection() | Calls ~MasterLayoutSlideCollection on this MasterLayoutSlideCollection instance. |
MasterLayoutSlideCollection() | |
init_internal(layouts: std::vector<ILayoutSlide*>) | Internal initialization with a list of non-owning layout slide pointers. |
size() → std::size_t | Returns the number of layout slides. |
as_i_collection() → std::vector<ILayoutSlide*> | Returns a non-owning snapshot of all layout slides as a vector. |
as_i_enumerable() → std::vector<const ILayoutSlide*> | Returns a non-owning snapshot of all layout slides (const) as a vector. |
get_by_type(type: SlideLayoutType) → ILayoutSlide | Finds the first layout slide matching the given type, or nullptr if none. |
add(layout: ILayoutSlide) | Adds a non-owning reference to a layout slide. |
begin() → iterator | Calls begin on this MasterLayoutSlideCollection instance. |
end() → iterator | Calls end on this MasterLayoutSlideCollection instance. |
begin() → const_iterator | |
end() → const_iterator | |
cbegin() → const_iterator | Calls cbegin on this MasterLayoutSlideCollection instance. |
cend() → const_iterator | Calls cend on this MasterLayoutSlideCollection instance. |