LibreOffice Module ucb (master) 1
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
hierarchy_ucp::HierarchyEntry Class Reference

#include <hierarchydata.hxx>

Classes

class  iterator
 

Public Member Functions

 HierarchyEntry (css::uno::Reference< css::uno::XComponentContext > xContext, HierarchyContentProvider *pProvider, const OUString &rURL)
 
bool hasData ()
 
bool getData (HierarchyEntryData &rData)
 
bool setData (const HierarchyEntryData &rData)
 
bool move (const OUString &rNewURL, const HierarchyEntryData &rData)
 
bool remove ()
 
bool first (iterator &it)
 
bool next (iterator &it)
 

Private Member Functions

css::uno::Reference< css::container::XHierarchicalNameAccess > getRootReadAccess ()
 

Static Private Member Functions

static OUString createPathFromHierarchyURL (const HierarchyUri &rURI)
 

Private Attributes

OUString m_aServiceSpecifier
 
OUString m_aName
 
OUString m_aPath
 
std::mutex m_aMutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xConfigProvider
 
css::uno::Reference< css::container::XHierarchicalNameAccess > m_xRootReadAccess
 
css::uno::Reference< css::util::XOfficeInstallationDirectories > m_xOfficeInstDirs
 
bool m_bTriedToGetRootReadAccess
 

Detailed Description

Definition at line 75 of file hierarchydata.hxx.

Constructor & Destructor Documentation

◆ HierarchyEntry()

hierarchy_ucp::HierarchyEntry::HierarchyEntry ( css::uno::Reference< css::uno::XComponentContext >  xContext,
HierarchyContentProvider pProvider,
const OUString &  rURL 
)

Member Function Documentation

◆ createPathFromHierarchyURL()

OUString hierarchy_ucp::HierarchyEntry::createPathFromHierarchyURL ( const HierarchyUri rURI)
staticprivate

Definition at line 920 of file hierarchydata.cxx.

References hierarchy_ucp::HierarchyUri::getPath(), and hierarchy_ucp::makeXMLName().

Referenced by HierarchyEntry(), and move().

◆ first()

bool hierarchy_ucp::HierarchyEntry::first ( iterator it)

◆ getData()

bool hierarchy_ucp::HierarchyEntry::getData ( HierarchyEntryData rData)

◆ getRootReadAccess()

uno::Reference< container::XHierarchicalNameAccess > hierarchy_ucp::HierarchyEntry::getRootReadAccess ( )
private

◆ hasData()

bool hierarchy_ucp::HierarchyEntry::hasData ( )

Definition at line 125 of file hierarchydata.cxx.

References getRootReadAccess(), and m_aPath.

◆ move()

bool hierarchy_ucp::HierarchyEntry::move ( const OUString &  rNewURL,
const HierarchyEntryData rData 
)

◆ next()

bool hierarchy_ucp::HierarchyEntry::next ( iterator it)

◆ remove()

bool hierarchy_ucp::HierarchyEntry::remove ( )

◆ setData()

bool hierarchy_ucp::HierarchyEntry::setData ( const HierarchyEntryData rData)

Member Data Documentation

◆ m_aMutex

std::mutex hierarchy_ucp::HierarchyEntry::m_aMutex
private

Definition at line 80 of file hierarchydata.hxx.

Referenced by getRootReadAccess(), move(), remove(), and setData().

◆ m_aName

OUString hierarchy_ucp::HierarchyEntry::m_aName
private

Definition at line 78 of file hierarchydata.hxx.

Referenced by getData(), HierarchyEntry(), move(), remove(), and setData().

◆ m_aPath

OUString hierarchy_ucp::HierarchyEntry::m_aPath
private

Definition at line 79 of file hierarchydata.hxx.

Referenced by first(), getData(), hasData(), HierarchyEntry(), move(), remove(), and setData().

◆ m_aServiceSpecifier

OUString hierarchy_ucp::HierarchyEntry::m_aServiceSpecifier
private

Definition at line 77 of file hierarchydata.hxx.

Referenced by getRootReadAccess(), HierarchyEntry(), move(), remove(), and setData().

◆ m_bTriedToGetRootReadAccess

bool hierarchy_ucp::HierarchyEntry::m_bTriedToGetRootReadAccess
private

Definition at line 87 of file hierarchydata.hxx.

Referenced by getRootReadAccess().

◆ m_xConfigProvider

css::uno::Reference< css::lang::XMultiServiceFactory > hierarchy_ucp::HierarchyEntry::m_xConfigProvider
private

Definition at line 82 of file hierarchydata.hxx.

Referenced by getRootReadAccess(), HierarchyEntry(), move(), remove(), and setData().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > hierarchy_ucp::HierarchyEntry::m_xContext
private

Definition at line 81 of file hierarchydata.hxx.

Referenced by getRootReadAccess(), move(), remove(), and setData().

◆ m_xOfficeInstDirs

css::uno::Reference< css::util::XOfficeInstallationDirectories > hierarchy_ucp::HierarchyEntry::m_xOfficeInstDirs
private

Definition at line 86 of file hierarchydata.hxx.

Referenced by first(), getData(), move(), and setData().

◆ m_xRootReadAccess

css::uno::Reference< css::container::XHierarchicalNameAccess > hierarchy_ucp::HierarchyEntry::m_xRootReadAccess
private

Definition at line 84 of file hierarchydata.hxx.

Referenced by getRootReadAccess(), and HierarchyEntry().


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