summaryrefslogtreecommitdiff
path: root/store/source/storbios.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2022-01-09 06:22:41 +1100
committerStephan Bergmann <sbergman@redhat.com>2022-06-20 08:54:08 +0200
commit983aa4a107bac672497f07b0bbbc752126af2d2a (patch)
tree0b03ab6017f3b9682d37f30cc3b303b0150af7cb /store/source/storbios.hxx
parent1b7a4ea1d59c9f5cb9d5312d362c1d4decb19e02 (diff)
store: remove useless comments from store
Change-Id: I4b2582d3a7314d8752a56e83a4af7618b053abb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128170 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'store/source/storbios.hxx')
-rw-r--r--store/source/storbios.hxx28
1 files changed, 5 insertions, 23 deletions
diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx
index 3cea84bb2494..5eb60bc5b861 100644
--- a/store/source/storbios.hxx
+++ b/store/source/storbios.hxx
@@ -37,8 +37,6 @@ struct SuperBlockPage;
class OStorePageBIOS : public store::OStoreObject
{
public:
- /** Construction.
- */
OStorePageBIOS();
/** Conversion into Mutex&
@@ -61,26 +59,16 @@ public:
return m_xAllocator;
}
- /** read.
- */
storeError read (
sal_uInt32 nAddr, void *pData, sal_uInt32 nSize) const;
- /** write.
- */
storeError write (
sal_uInt32 nAddr, const void *pData, sal_uInt32 nSize) const;
- /** isWriteable.
- */
inline bool isWriteable() const;
- /** isValid.
- */
inline bool isValid() const;
- /** Page Access.
- */
storeError acquirePage (
const OStorePageDescriptor& rDescr, storeAccessMode eMode);
@@ -99,23 +87,19 @@ public:
OStorePageObject& rPage, sal_uInt32 nAddr);
/** close.
- * @return store_E_None upon success.
+ @return store_E_None upon success.
*/
storeError close();
/** flush.
- * @return store_E_None upon success.
+ @return store_E_None upon success.
*/
storeError flush();
protected:
- /** Destruction (OReference).
- */
virtual ~OStorePageBIOS() override;
private:
- /** Representation.
- */
rtl::Reference<ILockBytes> m_xLockBytes;
osl::Mutex m_aMutex;
@@ -126,9 +110,9 @@ private:
rtl::Reference< PageData::Allocator > m_xAllocator;
rtl::Reference< PageCache > m_xCache;
+public:
/** Page Access (control).
*/
-public:
struct Ace
{
Ace * m_next;
@@ -151,16 +135,12 @@ private:
class AceCache;
- /** Initialization.
- */
storeError initialize_Impl (
ILockBytes * pLockBytes,
storeAccessMode eAccessMode,
sal_uInt16 & rnPageSize);
void cleanup_Impl();
- /** Page Maintenance.
- */
storeError loadObjectAt_Impl (
OStorePageObject & rPage, sal_uInt32 nAddr) const;
storeError saveObjectAt_Impl (
@@ -174,10 +154,12 @@ inline OStorePageBIOS::operator osl::Mutex& (void) const
{
return const_cast<osl::Mutex&>(m_aMutex);
}
+
inline bool OStorePageBIOS::isWriteable() const
{
return m_bWriteable;
}
+
inline bool OStorePageBIOS::isValid() const
{
return m_xLockBytes.is();