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:
[legend]
Collaboration diagram for tdoc_ucp::ParentStorageHolder:
[legend]

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

css::uno::Reference< css::embed::XStorage > m_xParentStorage
 
bool m_bParentIsRootStorage
 

Additional Inherited Members

- Public Attributes inherited from tdoc_ucp::MutexHolder
osl::Mutex m_aMutex
 

Detailed Description

Definition at line 47 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 tdoc_ucp::Uri::isDocument(), and m_bParentIsRootStorage.

Member Function Documentation

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

Definition at line 54 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)
inline

Member Data Documentation

bool tdoc_ucp::ParentStorageHolder::m_bParentIsRootStorage
private

Definition at line 64 of file tdoc_stgelems.hxx.

Referenced by isParentARootStorage(), and ParentStorageHolder().

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

Definition at line 63 of file tdoc_stgelems.hxx.

Referenced by getParentStorage(), and setParentStorage().


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