LibreOffice Module store (master) 1
Classes | Enumerations | Variables
types.h File Reference
#include <sal/types.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  storeFindData
 Find Data structure. More...
 

Enumerations

enum class  storeAccessMode {
  Create ,
  ReadWrite ,
  ReadOnly ,
  FORCE_EQUAL_SIZE = SAL_MAX_ENUM
}
 Access Mode enumeration. More...
 
enum  storeError {
  store_E_None = 0 ,
  store_E_AccessViolation ,
  store_E_LockingViolation ,
  store_E_CantSeek ,
  store_E_CantRead ,
  store_E_CantWrite ,
  store_E_InvalidAccess ,
  store_E_InvalidHandle ,
  store_E_InvalidParameter ,
  store_E_InvalidChecksum ,
  store_E_AlreadyExists ,
  store_E_NotExists ,
  store_E_NotDirectory ,
  store_E_NotFile ,
  store_E_NoMoreFiles ,
  store_E_NameTooLong ,
  store_E_OutOfMemory ,
  store_E_OutOfSpace ,
  store_E_Pending ,
  store_E_WrongFormat ,
  store_E_WrongVersion ,
  store_E_Unknown ,
  store_E_FORCE_EQUAL_SIZE = SAL_MAX_ENUM
}
 Error Code enumeration. More...
 

Variables

constexpr sal_uInt16 STORE_DEFAULT_PAGESIZE = 0x0400
 PageSize (recommended) default. More...
 
constexpr sal_uInt16 STORE_MINIMUM_PAGESIZE = 0x0200
 PageSize (enforced) limits. More...
 
constexpr sal_uInt16 STORE_MAXIMUM_PAGESIZE = 0x8000
 
constexpr auto STORE_MAXIMUM_NAMESIZE = 256
 NameSize (enforced) limit. More...
 
constexpr sal_uInt32 STORE_ATTRIB_ISLINK = 0x10000000
 Attributes (predefined). More...
 
constexpr sal_uInt32 STORE_ATTRIB_ISDIR = 0x20000000
 
constexpr sal_uInt32 STORE_ATTRIB_ISFILE = 0x40000000
 

Enumeration Type Documentation

◆ storeAccessMode

enum class storeAccessMode
strong

Access Mode enumeration.

See also
store_openFile()
store_openDirectory()
store_openStream()
Enumerator
Create 
ReadWrite 
ReadOnly 
FORCE_EQUAL_SIZE 

Definition at line 61 of file types.h.

◆ storeError

enum storeError

Error Code enumeration.

Enumerator
store_E_None 
store_E_AccessViolation 
store_E_LockingViolation 
store_E_CantSeek 
store_E_CantRead 
store_E_CantWrite 
store_E_InvalidAccess 
store_E_InvalidHandle 
store_E_InvalidParameter 
store_E_InvalidChecksum 
store_E_AlreadyExists 
store_E_NotExists 
store_E_NotDirectory 
store_E_NotFile 
store_E_NoMoreFiles 
store_E_NameTooLong 
store_E_OutOfMemory 
store_E_OutOfSpace 
store_E_Pending 
store_E_WrongFormat 
store_E_WrongVersion 
store_E_Unknown 
store_E_FORCE_EQUAL_SIZE 

Definition at line 72 of file types.h.

Variable Documentation

◆ STORE_ATTRIB_ISDIR

constexpr sal_uInt32 STORE_ATTRIB_ISDIR = 0x20000000
constexpr

Definition at line 52 of file types.h.

Referenced by store::OStoreDirectory_Impl::create(), and store::OStorePageManager::iget().

◆ STORE_ATTRIB_ISFILE

constexpr sal_uInt32 STORE_ATTRIB_ISFILE = 0x40000000
constexpr

Definition at line 53 of file types.h.

Referenced by store::OStoreLockBytes::create().

◆ STORE_ATTRIB_ISLINK

constexpr sal_uInt32 STORE_ATTRIB_ISLINK = 0x10000000
constexpr

Attributes (predefined).

See also
store_attrib()

Definition at line 51 of file types.h.

Referenced by store::OStoreLockBytes::create(), store::OStorePageManager::iget(), store::OStoreDirectory_Impl::iterate(), and store::OStorePageManager::remove().

◆ STORE_DEFAULT_PAGESIZE

constexpr sal_uInt16 STORE_DEFAULT_PAGESIZE = 0x0400
constexpr

PageSize (recommended) default.

See also
store_openFile()

Definition at line 31 of file types.h.

Referenced by store::OStoreFile::create(), and store::OStoreFile::createInMemory().

◆ STORE_MAXIMUM_NAMESIZE

constexpr auto STORE_MAXIMUM_NAMESIZE = 256
constexpr

NameSize (enforced) limit.

See also
any param pName
store_E_NameTooLong

Definition at line 45 of file types.h.

Referenced by store::OStoreDirectory_Impl::iterate(), and store::OStorePageManager::namei().

◆ STORE_MAXIMUM_PAGESIZE

constexpr sal_uInt16 STORE_MAXIMUM_PAGESIZE = 0x8000
constexpr

◆ STORE_MINIMUM_PAGESIZE

constexpr sal_uInt16 STORE_MINIMUM_PAGESIZE = 0x0200
constexpr

PageSize (enforced) limits.

See also
store_openFile()

Definition at line 37 of file types.h.

Referenced by store::ILockBytes::initialize(), and store::OStorePageBIOS::initialize_Impl().