StormByte-Database 2.0.0
C++26 database module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte Namespace Reference

Root namespace of the StormByte C++ suite. More...

Namespaces

namespace  Database
 Database module of the StormByte suite.
 
namespace  Detail
 
namespace  Error
 
namespace  Heap
 
namespace  Iterable
 
namespace  Logger
 
namespace  String
 
namespace  Test
 
namespace  Type
 

Classes

class  Base64Error
 
class  BinaryData
 
class  Bitmask
 
class  ByteSize
 
class  Clonable
 
class  CString
 
class  DeserializeError
 
class  Exception
 
class  Iterable
 
class  OutOfBoundsError
 
class  Serializable
 
class  Shared
 
class  Size
 
class  ThreadLock
 
class  Unique
 
class  WCString
 
class  Weak
 

Concepts

concept  ValidSmartPointer
 

Typedefs

typedef std::conditional_t< Type::Reference< T >, std::expected< std::reference_wrapper< std::remove_reference_t< T > >, Shared< E > >, std::expected< T, Shared< E > > > Expected
 

Functions

BinaryData Base64Decode (std::string_view input)
 
CString Base64Encode (const BinaryData &input)
 
CString Base64Encode (std::span< const std::byte > input)
 
void swap (BinaryData &lhs, BinaryData &rhs) noexcept
 
bool operator== (std::span< const std::byte > bytes, const BinaryData &data) noexcept
 
bool operator!= (std::span< const std::byte > bytes, const BinaryData &data) noexcept
 
std::strong_ordering operator<=> (std::span< const std::byte > bytes, const BinaryData &data) noexcept
 
constexpr bool operator== (ByteSize lhs, T rhs) noexcept
 
constexpr bool operator== (T lhs, ByteSize rhs) noexcept
 
constexpr std::strong_ordering operator<=> (ByteSize lhs, T rhs) noexcept
 
constexpr std::strong_ordering operator<=> (T lhs, ByteSize rhs) noexcept
 
constexpr ByteSize operator+ (ByteSize lhs, T rhs) noexcept
 
constexpr ByteSize operator+ (T lhs, ByteSize rhs) noexcept
 
constexpr ByteSize operator- (ByteSize lhs, T rhs) noexcept
 
constexpr ByteSize operator- (T lhs, ByteSize rhs) noexcept
 
constexpr ByteSize operator* (ByteSize lhs, T rhs) noexcept
 
constexpr ByteSize operator* (T lhs, ByteSize rhs) noexcept
 
constexpr ByteSize operator/ (ByteSize lhs, T rhs) noexcept
 
constexpr ByteSize operator% (ByteSize lhs, T rhs) noexcept
 
std::ostream & operator<< (std::ostream &stream, ByteSize size)
 
std::ostream & operator<< (std::ostream &stream, const CString &text)
 
bool operator== (const char *str, const CString &text) noexcept
 
bool operator!= (const char *str, const CString &text) noexcept
 
void swap (CString &left, CString &right) noexcept
 
auto Unexpected (Shared< E > error)
 
auto Unexpected (std::shared_ptr< E >)=delete
 
auto Unexpected (E &&error)
 
auto Unexpected (Derived &&error) -> std::unexpected< Shared< Base > >
 
auto Unexpected (const std::string &fmt, Args &&... args)
 
void append_bytes (BinaryData &dest, std::span< const std::byte > src) noexcept
 
void append_bytes (BinaryData &dest, const BinaryData &src) noexcept
 
void append_bytes (BinaryData &dest, BinaryData &&src) noexcept
 
void append_vector (std::vector< T > &dest, std::span< U > src) noexcept
 
void append_vector (std::vector< T > &dest, const std::vector< T > &src) noexcept
 
void append_vector (std::vector< T > &dest, std::vector< T > &&src) noexcept
 
Shared< T > StaticPointerCast (const Shared< U > &from) noexcept
 
Shared< T > DynamicPointerCast (const Shared< U > &from) noexcept
 
Shared< T > ConstPointerCast (const Shared< U > &from) noexcept
 
Shared< T > ReinterpretPointerCast (const Shared< U > &from) noexcept
 
constexpr bool operator== (Size lhs, T rhs) noexcept
 
constexpr bool operator== (T lhs, Size rhs) noexcept
 
constexpr std::strong_ordering operator<=> (Size lhs, T rhs) noexcept
 
constexpr std::strong_ordering operator<=> (T lhs, Size rhs) noexcept
 
constexpr Size operator+ (Size lhs, T rhs) noexcept
 
constexpr Size operator+ (T lhs, Size rhs) noexcept
 
constexpr Size operator- (Size lhs, T rhs) noexcept
 
constexpr Size operator- (T lhs, Size rhs) noexcept
 
constexpr Size operator* (Size lhs, T rhs) noexcept
 
constexpr Size operator* (T lhs, Size rhs) noexcept
 
constexpr Size operator/ (Size lhs, T rhs) noexcept
 
constexpr Size operator/ (T lhs, Size rhs) noexcept
 
constexpr Size operator% (Size lhs, T rhs) noexcept
 
constexpr Size operator% (T lhs, Size rhs) noexcept
 
std::ostream & operator<< (std::ostream &stream, Size size)
 
CString GenerateUUIDv4 () noexcept
 
std::wostream & operator<< (std::wostream &stream, const WCString &text)
 
bool operator== (const wchar_t *str, const WCString &text) noexcept
 
bool operator!= (const wchar_t *str, const WCString &text) noexcept
 
void swap (WCString &left, WCString &right) noexcept
 

Variables

constexpr ByteSize B
 
constexpr ByteSize KiB
 
constexpr ByteSize MiB
 
constexpr ByteSize GiB
 
constexpr ByteSize TiB
 
constexpr ByteSize PiB
 
constexpr ByteSize EiB
 
constexpr ByteSize KB
 
constexpr ByteSize MB
 
constexpr ByteSize GB
 
constexpr ByteSize TB
 
constexpr ByteSize PB
 
constexpr ByteSize EB
 

Detailed Description

Root namespace of the StormByte C++ suite.