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 (const 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 40 of file tdoc_stgelems.hxx.

Constructor & Destructor Documentation

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

Definition at line 45 of file tdoc_stgelems.cxx.

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

Member Function Documentation

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

Definition at line 47 of file tdoc_stgelems.hxx.

References m_bParentIsRootStorage.

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

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

Member Data Documentation

std::mutex tdoc_ucp::ParentStorageHolder::m_aMutex

Definition at line 59 of file tdoc_stgelems.hxx.

Referenced by setParentStorage().

bool tdoc_ucp::ParentStorageHolder::m_bParentIsRootStorage

Definition at line 61 of file tdoc_stgelems.hxx.

Referenced by isParentARootStorage(), and ParentStorageHolder().

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

Definition at line 60 of file tdoc_stgelems.hxx.

Referenced by getParentStorage(), and setParentStorage().

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