Aspose::Page::XPS::XpsModel::XpsElement class

XpsElement class

Class incapsulating common XPS element features.

class XpsElement : public Aspose::Page::XPS::XpsModel::XpsObject,
                   public System::Collections::Generic::IEnumerable<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsContentElement>>

Methods

MethodDescription
begin()Gets iterator pointing to the first element (if any) of the collection.
begin() constGets iterator pointing to the first element (if any) of the const-qualified instance of the collection.
cbegin() constGets iterator pointing to the first const-qualified element (if any) of the collection.
cend() constGets iterator pointing right after the last const-qualified element (if any) of the collection.
cpp_set_parent_shared()
cpp_set_parent_weak()
end()Gets iterator pointing right after the last element (if any) of the collection.
end() constGets iterator pointing right after the last element (if any) of the const-qualified instance of the collection.
get_Count()Returns number of child elements.
get_Parent() const
GetEnumerator() overrideImplementation of System::Collections::Generic::IEnumerable interface.
idx_get(int32_t)Provides access to element’s children by index i .
set_Parent(System::SharedPtr<XpsElement>)
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
virtualizeBeginConstIterator() const overrideGets iterator pointing to the first element (if any)of the const-qualified instance of the collection.
virtualizeBeginIterator() overrideGets iterator pointing to the first element (if any) of the collection.
virtualizeEndConstIterator() const overrideGets iterator pointing right after the last element (if any)of the const-qualified instance of the collection.
virtualizeEndIterator() overrideGets iterator pointing right after the last element (if any) of the collection.

Typedefs

TypedefDescription
const_iteratorConst iterator type.
iteratorIterator type.
iterator_holder_typeA collection type whose iterator types is used as iterator types in the current collection.
virtualized_iteratorVirtualized type.
virtualized_iterator_elementVirtualized element type.

See Also