LibreOffice Module package (master) 1
|
#include <ohierarchyholder.hxx>
Public Member Functions | |
OHierarchyElement_Impl (css::uno::Reference< css::embed::XStorage > xStorage) | |
OHierarchyElement_Impl (css::uno::WeakReference< css::embed::XStorage > xWeakStorage) | |
void | Commit () |
void | SetParent (const ::rtl::Reference< OHierarchyElement_Impl > &rParent) |
void | TestForClosing () |
void | RemoveElement (const ::rtl::Reference< OHierarchyElement_Impl > &aRef) |
css::uno::Reference< css::embed::XExtendedStorageStream > | GetStreamHierarchically (sal_Int32 nStorageMode, std::vector< OUString > &aPath, sal_Int32 nStreamMode, const ::comphelper::SequenceAsHashMap &aEncryptionData) |
void | RemoveStreamHierarchically (std::vector< OUString > &aListPath) |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | preCommit (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | commited (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | preRevert (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | reverted (const css::lang::EventObject &aEvent) override |
Private Attributes | |
std::mutex | m_aMutex |
::rtl::Reference< OHierarchyElement_Impl > | m_rParent |
css::uno::Reference< css::embed::XStorage > | m_xOwnStorage |
css::uno::WeakReference< css::embed::XStorage > | m_xWeakOwnStorage |
OHierarchyElementList_Impl | m_aChildren |
OWeakStorRefVector_Impl | m_aOpenStreams |
Definition at line 45 of file ohierarchyholder.hxx.
|
inlineexplicit |
Definition at line 58 of file ohierarchyholder.hxx.
Referenced by GetStreamHierarchically(), and RemoveStreamHierarchically().
|
inlineexplicit |
Definition at line 62 of file ohierarchyholder.hxx.
void OHierarchyElement_Impl::Commit | ( | ) |
Definition at line 207 of file ohierarchyholder.cxx.
References m_aMutex, m_rParent, and m_xOwnStorage.
Referenced by commited().
|
overridevirtual |
Definition at line 303 of file ohierarchyholder.cxx.
References Commit(), and cppu::getCaughtException().
|
overridevirtual |
Definition at line 257 of file ohierarchyholder.cxx.
References ex, cppu::getCaughtException(), m_aMutex, m_aOpenStreams, Source, TestForClosing(), and xStream.
uno::Reference< embed::XExtendedStorageStream > OHierarchyElement_Impl::GetStreamHierarchically | ( | sal_Int32 | nStorageMode, |
std::vector< OUString > & | aPath, | ||
sal_Int32 | nStreamMode, | ||
const ::comphelper::SequenceAsHashMap & | aEncryptionData | ||
) |
Definition at line 81 of file ohierarchyholder.cxx.
References m_aChildren, m_aMutex, m_aOpenStreams, m_xOwnStorage, m_xWeakOwnStorage, and OHierarchyElement_Impl().
|
overridevirtual |
Definition at line 299 of file ohierarchyholder.cxx.
|
overridevirtual |
Definition at line 319 of file ohierarchyholder.cxx.
void OHierarchyElement_Impl::RemoveElement | ( | const ::rtl::Reference< OHierarchyElement_Impl > & | aRef | ) |
Definition at line 281 of file ohierarchyholder.cxx.
References m_aChildren, m_aMutex, and TestForClosing().
void OHierarchyElement_Impl::RemoveStreamHierarchically | ( | std::vector< OUString > & | aListPath | ) |
Definition at line 163 of file ohierarchyholder.cxx.
References m_aChildren, m_aMutex, m_xOwnStorage, m_xWeakOwnStorage, OHierarchyElement_Impl(), and TestForClosing().
|
overridevirtual |
Definition at line 323 of file ohierarchyholder.cxx.
|
inline |
Definition at line 68 of file ohierarchyholder.hxx.
References m_rParent.
void OHierarchyElement_Impl::TestForClosing | ( | ) |
Definition at line 228 of file ohierarchyholder.cxx.
References m_aChildren, m_aMutex, m_aOpenStreams, m_rParent, and m_xOwnStorage.
Referenced by disposing(), RemoveElement(), and RemoveStreamHierarchically().
|
private |
Definition at line 53 of file ohierarchyholder.hxx.
Referenced by GetStreamHierarchically(), RemoveElement(), RemoveStreamHierarchically(), and TestForClosing().
|
private |
Definition at line 47 of file ohierarchyholder.hxx.
Referenced by Commit(), disposing(), GetStreamHierarchically(), RemoveElement(), RemoveStreamHierarchically(), and TestForClosing().
|
private |
Definition at line 55 of file ohierarchyholder.hxx.
Referenced by disposing(), GetStreamHierarchically(), and TestForClosing().
|
private |
Definition at line 49 of file ohierarchyholder.hxx.
Referenced by Commit(), SetParent(), and TestForClosing().
|
private |
Definition at line 50 of file ohierarchyholder.hxx.
Referenced by Commit(), GetStreamHierarchically(), RemoveStreamHierarchically(), and TestForClosing().
|
private |
Definition at line 51 of file ohierarchyholder.hxx.
Referenced by GetStreamHierarchically(), and RemoveStreamHierarchically().