SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
FileSystem.h File Reference
+ Include dependency graph for FileSystem.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SWC::FS::Configurables
 
struct  SWC::FS::ImplOptions
 
class  SWC::FS::FileSystem
 

Namespaces

 SWC
 The SWC-DB C++ namespace 'SWC'.
 
 SWC::FS
 The SWC-DB File-System C++ namespace 'SWC::FS'.
 

Macros

#define ADD_OPTION(_N)
 

Typedefs

typedef SWC::FS::FileSystemfs_make_new_t(SWC::FS::Configurables *)
 

Enumerations

enum  SWC::FS::Type : uint8_t {
  SWC::FS::UNKNOWN = 0x00,
  SWC::FS::LOCAL = 0x01,
  SWC::FS::BROKER = 0x02,
  SWC::FS::CUSTOM = 0x03,
  SWC::FS::HADOOP = 0x04,
  SWC::FS::HADOOP_JVM = 0x05,
  SWC::FS::CEPH = 0x06
}
 
enum  SWC::FS::OpenFlags {
  SWC::FS::OPEN_FLAG_DIRECTIO = 0x00000001,
  SWC::FS::OPEN_FLAG_OVERWRITE = 0x00000002,
  SWC::FS::OPEN_FLAG_VERIFY_CHECKSUM = 0x00000004,
  SWC::FS::WRITE_VALIDATE_LENGTH = 0x00000008
}
 
enum  SWC::FS::Flags : uint8_t {
  SWC::FS::NONE = 0x00,
  SWC::FS::FLUSH = 0x01,
  SWC::FS::SYNC = 0x02
}
 

Functions

std::string SWC::FS::normalize_pathname (std::string s)
 
Type SWC::FS::fs_type (const std::string &fs_name)
 
const char *SWC_CONST_FUNC SWC::FS::to_string (Type typ) noexcept
 

Macro Definition Documentation

◆ ADD_OPTION

#define ADD_OPTION (   _N)
Value:
uint8_t _N : 1; \
ImplOptions& add_##_N() noexcept;\
bool SWC_PURE_FUNC has_##_N() const noexcept;

Definition at line 68 of file FileSystem.h.

Typedef Documentation

◆ fs_make_new_t

typedef SWC::FS::FileSystem* fs_make_new_t(SWC::FS::Configurables *)

Definition at line 249 of file FileSystem.h.

SWC_PURE_FUNC
#define SWC_PURE_FUNC
Definition: Compat.h:108