LibreOffice Module unoxml (master) 1
Public Member Functions | Private Attributes | List of all members
XPath::CXPathObject Class Reference

#include <xpathobject.hxx>

Inheritance diagram for XPath::CXPathObject:
[legend]
Collaboration diagram for XPath::CXPathObject:
[legend]

Public Member Functions

 CXPathObject (::rtl::Reference< DOM::CDocument > pDocument, ::osl::Mutex &rMutex, std::shared_ptr< xmlXPathObject > const &pXPathObj)
 
virtual css::xml::xpath::XPathObjectType SAL_CALL getObjectType () override
 get object type More...
 
virtual css::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getNodeList () override
 get the nodes from a nodelist type object More...
 
virtual sal_Bool SAL_CALL getBoolean () override
 get value of a boolean object More...
 
virtual sal_Int8 SAL_CALL getByte () override
 get number as byte More...
 
virtual sal_Int16 SAL_CALL getShort () override
 get number as short More...
 
virtual sal_Int32 SAL_CALL getLong () override
 get number as long More...
 
virtual sal_Int64 SAL_CALL getHyper () override
 get number as hyper More...
 
virtual float SAL_CALL getFloat () override
 get number as float More...
 
virtual double SAL_CALL getDouble () override
 get number as double More...
 
virtual OUString SAL_CALL getString () override
 get string value More...
 

Private Attributes

::rtl::Reference< DOM::CDocument > const m_pDocument
 
::osl::Mutex & m_rMutex
 
std::shared_ptr< xmlXPathObject > const m_pXPathObj
 
css::xml::xpath::XPathObjectType const m_XPathObjectType
 

Detailed Description

Definition at line 43 of file xpathobject.hxx.

Constructor & Destructor Documentation

◆ CXPathObject()

XPath::CXPathObject::CXPathObject ( ::rtl::Reference< DOM::CDocument pDocument,
::osl::Mutex &  rMutex,
std::shared_ptr< xmlXPathObject > const &  pXPathObj 
)

Definition at line 66 of file xpathobject.cxx.

References get(), and m_rMutex.

Member Function Documentation

◆ getBoolean()

sal_Bool SAL_CALL XPath::CXPathObject::getBoolean ( )
overridevirtual

get value of a boolean object

Definition at line 101 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getByte()

sal_Int8 SAL_CALL XPath::CXPathObject::getByte ( )
overridevirtual

get number as byte

Definition at line 111 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getDouble()

double SAL_CALL XPath::CXPathObject::getDouble ( )
overridevirtual

get number as double

Definition at line 161 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getFloat()

float SAL_CALL XPath::CXPathObject::getFloat ( )
overridevirtual

get number as float

Definition at line 151 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getHyper()

sal_Int64 SAL_CALL XPath::CXPathObject::getHyper ( )
overridevirtual

get number as hyper

Definition at line 141 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getLong()

sal_Int32 SAL_CALL XPath::CXPathObject::getLong ( )
overridevirtual

get number as long

Definition at line 131 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getNodeList()

Reference< XNodeList > SAL_CALL XPath::CXPathObject::getNodeList ( )
overridevirtual

get the nodes from a nodelist type object

Definition at line 89 of file xpathobject.cxx.

References m_pDocument, m_pXPathObj, and m_rMutex.

◆ getObjectType()

XPathObjectType XPath::CXPathObject::getObjectType ( )
overridevirtual

get object type

Definition at line 80 of file xpathobject.cxx.

References m_XPathObjectType.

◆ getShort()

sal_Int16 SAL_CALL XPath::CXPathObject::getShort ( )
overridevirtual

get number as short

Definition at line 121 of file xpathobject.cxx.

References m_pXPathObj, and m_rMutex.

◆ getString()

OUString SAL_CALL XPath::CXPathObject::getString ( )
overridevirtual

get string value

Definition at line 171 of file xpathobject.cxx.

References m_pXPathObj, m_rMutex, and pS.

Member Data Documentation

◆ m_pDocument

::rtl::Reference< DOM::CDocument > const XPath::CXPathObject::m_pDocument
private

Definition at line 46 of file xpathobject.hxx.

Referenced by getNodeList().

◆ m_pXPathObj

std::shared_ptr<xmlXPathObject> const XPath::CXPathObject::m_pXPathObj
private

◆ m_rMutex

::osl::Mutex& XPath::CXPathObject::m_rMutex
private

◆ m_XPathObjectType

css::xml::xpath::XPathObjectType const XPath::CXPathObject::m_XPathObjectType
private

Definition at line 49 of file xpathobject.hxx.

Referenced by getObjectType().


The documentation for this class was generated from the following files: