|
LibreOffice Module unoxml (master) 1
|
#include <nodelist.hxx>
Public Member Functions | |
| CNodeList (::rtl::Reference< DOM::CDocument > pDocument, ::osl::Mutex &rMutex, std::shared_ptr< xmlXPathObject > const &rxpathObj) | |
| virtual sal_Int32 SAL_CALL | getLength () override |
| The number of nodes in the list. More... | |
| virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL | item (sal_Int32 index) override |
| Returns the indexth item in the collection. More... | |
Private Attributes | |
| ::rtl::Reference< DOM::CDocument > const | m_pDocument |
| #i115995# keep document alive More... | |
| ::osl::Mutex & | m_rMutex |
| std::shared_ptr< xmlXPathObject > | m_pXPathObj |
| retain the result set in case the CXPathObject is released More... | |
| xmlNodeSetPtr | m_pNodeSet |
Definition at line 44 of file nodelist.hxx.
| XPath::CNodeList::CNodeList | ( | ::rtl::Reference< DOM::CDocument > | pDocument, |
| ::osl::Mutex & | rMutex, | ||
| std::shared_ptr< xmlXPathObject > const & | rxpathObj | ||
| ) |
Definition at line 31 of file nodelist.cxx.
References m_pNodeSet, m_pXPathObj, and m_rMutex.
|
overridevirtual |
The number of nodes in the list.
Definition at line 49 of file nodelist.cxx.
References m_pNodeSet, m_rMutex, and value.
|
overridevirtual |
Returns the indexth item in the collection.
Definition at line 62 of file nodelist.cxx.
References index, m_pDocument, m_pNodeSet, and m_rMutex.
|
private |
|
private |
Definition at line 52 of file nodelist.hxx.
Referenced by CNodeList(), getLength(), and item().
|
private |
retain the result set in case the CXPathObject is released
Definition at line 51 of file nodelist.hxx.
Referenced by CNodeList().
|
private |
Definition at line 49 of file nodelist.hxx.
Referenced by getLength(), and item().