LibreOffice Module ucb (master) 1
Public Member Functions | Private Attributes | List of all members
tdoc_ucp::ParentStorageHolder Class Reference

#include <tdoc_stgelems.hxx>

Inheritance diagram for tdoc_ucp::ParentStorageHolder:

Public Member Functions

 ParentStorageHolder (css::uno::Reference< css::embed::XStorage > xParentStorage, const OUString &rUri)
bool isParentARootStorage () const
const css::uno::Reference< css::embed::XStorage > & getParentStorage () const
void setParentStorage (const css::uno::Reference< css::embed::XStorage > &xStg)

Private Attributes

std::mutex m_aMutex
css::uno::Reference< css::embed::XStorage > m_xParentStorage
bool m_bParentIsRootStorage

Detailed Description

Definition at line 42 of file tdoc_stgelems.hxx.

Constructor & Destructor Documentation

◆ ParentStorageHolder()

ParentStorageHolder::ParentStorageHolder ( css::uno::Reference< css::embed::XStorage >  xParentStorage,
const OUString &  rUri 

Definition at line 47 of file tdoc_stgelems.cxx.

References tdoc_ucp::Uri::isDocument(), and m_bParentIsRootStorage.

Member Function Documentation

◆ getParentStorage()

const css::uno::Reference< css::embed::XStorage > & tdoc_ucp::ParentStorageHolder::getParentStorage ( ) const

◆ isParentARootStorage()

bool tdoc_ucp::ParentStorageHolder::isParentARootStorage ( ) const

Definition at line 49 of file tdoc_stgelems.hxx.

References m_bParentIsRootStorage.

Referenced by tdoc_ucp::Storage::commit(), and tdoc_ucp::Storage::revert().

◆ setParentStorage()

void tdoc_ucp::ParentStorageHolder::setParentStorage ( const css::uno::Reference< css::embed::XStorage > &  xStg)

Member Data Documentation

◆ m_aMutex

std::mutex tdoc_ucp::ParentStorageHolder::m_aMutex

Definition at line 61 of file tdoc_stgelems.hxx.

Referenced by setParentStorage().

◆ m_bParentIsRootStorage

bool tdoc_ucp::ParentStorageHolder::m_bParentIsRootStorage

Definition at line 63 of file tdoc_stgelems.hxx.

Referenced by isParentARootStorage(), and ParentStorageHolder().

◆ m_xParentStorage

css::uno::Reference< css::embed::XStorage > tdoc_ucp::ParentStorageHolder::m_xParentStorage

Definition at line 62 of file tdoc_stgelems.hxx.

Referenced by getParentStorage(), and setParentStorage().

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