LibreOffice Module sot (master) 1
Public Member Functions | List of all members
BaseStorage Class Referenceabstract

#include <stg.hxx>

Inheritance diagram for BaseStorage:
[legend]
Collaboration diagram for BaseStorage:
[legend]

Public Member Functions

virtual const OUString & GetName () const =0
 
virtual bool IsRoot () const =0
 
virtual void SetClassId (const ClsId &)=0
 
virtual const ClsIdGetClassId () const =0
 
virtual void SetDirty ()=0
 
virtual void SetClass (const SvGlobalName &rClass, SotClipboardFormatId nOriginalClipFormat, const OUString &rUserTypeName)=0
 
virtual SvGlobalName GetClassName ()=0
 
virtual SotClipboardFormatId GetFormat ()=0
 
virtual OUString GetUserName ()=0
 
virtual void FillInfoList (SvStorageInfoList *) const =0
 
virtual bool CopyTo (BaseStorage *pDestStg) const =0
 
virtual bool Commit ()=0
 
virtual bool Revert ()=0
 
virtual BaseStorageStreamOpenStream (const OUString &rEleName, StreamMode=StreamMode::STD_READWRITE, bool bDirect=true)=0
 
virtual BaseStorageOpenStorage (const OUString &rEleName, StreamMode=StreamMode::STD_READWRITE, bool bDirect=false)=0
 
virtual BaseStorageOpenUCBStorage (const OUString &rEleName, StreamMode=StreamMode::STD_READWRITE, bool bDirect=false)=0
 
virtual BaseStorageOpenOLEStorage (const OUString &rEleName, StreamMode=StreamMode::STD_READWRITE, bool bDirect=false)=0
 
virtual bool IsStream (const OUString &rEleName) const =0
 
virtual bool IsStorage (const OUString &rEleName) const =0
 
virtual bool IsContained (const OUString &rEleName) const =0
 
virtual void Remove (const OUString &rEleName)=0
 
virtual bool CopyTo (const OUString &rEleName, BaseStorage *pDest, const OUString &rNewName)=0
 
virtual bool ValidateFAT ()=0
 
virtual bool Equals (const BaseStorage &rStream) const =0
 
- Public Member Functions inherited from StorageBase
virtual bool Validate (bool=false) const =0
 
virtual bool ValidateMode (StreamMode) const =0
 
void ResetError () const
 
void SetError (ErrCode) const
 
ErrCode GetError () const
 
bool Good () const
 
StreamMode GetMode () const
 
void SetAutoCommit (bool bSet)
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Additional Inherited Members

- Protected Member Functions inherited from StorageBase
 StorageBase ()
 
virtual ~StorageBase () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from StorageBase
ErrCode m_nError
 
StreamMode m_nMode
 
bool m_bAutoCommit
 

Detailed Description

Definition at line 74 of file stg.hxx.

Member Function Documentation

◆ Commit()

virtual bool BaseStorage::Commit ( )
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::Commit().

◆ CopyTo() [1/2]

virtual bool BaseStorage::CopyTo ( BaseStorage pDestStg) const
pure virtual

◆ CopyTo() [2/2]

virtual bool BaseStorage::CopyTo ( const OUString &  rEleName,
BaseStorage pDest,
const OUString &  rNewName 
)
pure virtual

Implemented in UCBStorage.

◆ Equals()

virtual bool BaseStorage::Equals ( const BaseStorage rStream) const
pure virtual

Implemented in UCBStorage.

◆ FillInfoList()

virtual void BaseStorage::FillInfoList ( SvStorageInfoList ) const
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::FillInfoList().

◆ GetClassId()

virtual const ClsId & BaseStorage::GetClassId ( ) const
pure virtual

Implemented in UCBStorage.

Referenced by UCBStorage::CopyStorageElement_Impl().

◆ GetClassName()

virtual SvGlobalName BaseStorage::GetClassName ( )
pure virtual

◆ GetFormat()

virtual SotClipboardFormatId BaseStorage::GetFormat ( )
pure virtual

◆ GetName()

virtual const OUString & BaseStorage::GetName ( ) const
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::CreateStorage(), and SotStorage::GetName().

◆ GetUserName()

virtual OUString BaseStorage::GetUserName ( )
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::GetUserName().

◆ IsContained()

virtual bool BaseStorage::IsContained ( const OUString &  rEleName) const
pure virtual

◆ IsRoot()

virtual bool BaseStorage::IsRoot ( ) const
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::CreateStorage().

◆ IsStorage()

virtual bool BaseStorage::IsStorage ( const OUString &  rEleName) const
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::IsStorage().

◆ IsStream()

virtual bool BaseStorage::IsStream ( const OUString &  rEleName) const
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::IsStream().

◆ OpenOLEStorage()

virtual BaseStorage * BaseStorage::OpenOLEStorage ( const OUString &  rEleName,
StreamMode  = StreamMode::STD_READWRITE,
bool  bDirect = false 
)
pure virtual

Implemented in UCBStorage.

Referenced by UCBStorage::CopyStorageElement_Impl().

◆ OpenStorage()

virtual BaseStorage * BaseStorage::OpenStorage ( const OUString &  rEleName,
StreamMode  = StreamMode::STD_READWRITE,
bool  bDirect = false 
)
pure virtual

◆ OpenStream()

virtual BaseStorageStream * BaseStorage::OpenStream ( const OUString &  rEleName,
StreamMode  = StreamMode::STD_READWRITE,
bool  bDirect = true 
)
pure virtual

◆ OpenUCBStorage()

virtual BaseStorage * BaseStorage::OpenUCBStorage ( const OUString &  rEleName,
StreamMode  = StreamMode::STD_READWRITE,
bool  bDirect = false 
)
pure virtual

Implemented in UCBStorage.

Referenced by UCBStorage::CopyStorageElement_Impl().

◆ Remove()

virtual void BaseStorage::Remove ( const OUString &  rEleName)
pure virtual

◆ Revert()

virtual bool BaseStorage::Revert ( )
pure virtual

Implemented in UCBStorage.

◆ SetClass()

virtual void BaseStorage::SetClass ( const SvGlobalName rClass,
SotClipboardFormatId  nOriginalClipFormat,
const OUString &  rUserTypeName 
)
pure virtual

Implemented in UCBStorage.

Referenced by UCBStorage::CopyTo(), and SotStorage::SetClass().

◆ SetClassId()

virtual void BaseStorage::SetClassId ( const ClsId )
pure virtual

Implemented in UCBStorage.

Referenced by UCBStorage::CopyTo().

◆ SetDirty()

virtual void BaseStorage::SetDirty ( )
pure virtual

Implemented in UCBStorage.

Referenced by UCBStorage::CopyTo().

◆ ValidateFAT()

virtual bool BaseStorage::ValidateFAT ( )
pure virtual

Implemented in UCBStorage.

Referenced by SotStorage::Validate().


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