/** an iterator that iterates through all elements, starting from an XIndexAccess (pre-order)
*/ class COMPHELPER_DLLPUBLIC IndexAccessIterator
{ protected:
css::uno::Reference< css::uno::XInterface> m_xStartingPoint;
css::uno::Reference< css::uno::XInterface> m_xCurrentObject; // The current object
::std::vector<sal_Int32> m_arrChildIndizies;
// I'm moving through a tree, but its elements have no GetNextSibling, // so I have to remember where each child is in relation to its parent. // That is the path from the root node to m_xCurrentObject
// This can be used to exclude certain elements; elements for which // this function returns sal_True will be simply skipped. // If this element is returned from Next(), then one can get // here get a little more information on the element. // That's why this method is not const. virtualbool ShouldStepInto(const css::uno::Reference< css::uno::XInterface>& /*xContainer*/) const { return true; }
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.