#include <simple_string.hpp>
|
constexpr static std::size_t | CAPACITY = 15 |
|
constexpr static std::size_t | IS_LONG_BIT = 1 << 7 |
|
constexpr static std::size_t | LONG_MASK = (~std::size_t(0)) >> 1 |
|
constexpr static std::size_t | MAX_SIZE = 100UL * 1024UL * 1024UL |
|
Definition at line 18 of file simple_string.hpp.
◆ SimpleString() [1/6]
SafeAny::SimpleString::SimpleString |
( |
const std::string & |
str | ) |
|
|
inline |
◆ SimpleString() [2/6]
SafeAny::SimpleString::SimpleString |
( |
const std::string_view & |
str | ) |
|
|
inline |
◆ SimpleString() [3/6]
SafeAny::SimpleString::SimpleString |
( |
const SimpleString & |
other | ) |
|
|
inline |
◆ SimpleString() [4/6]
SafeAny::SimpleString::SimpleString |
( |
SimpleString && |
other | ) |
|
|
inline |
◆ SimpleString() [5/6]
SafeAny::SimpleString::SimpleString |
( |
const char * |
input_data | ) |
|
|
inline |
◆ SimpleString() [6/6]
SafeAny::SimpleString::SimpleString |
( |
const char * |
input_data, |
|
|
std::size_t |
size |
|
) |
| |
|
inline |
◆ ~SimpleString()
SafeAny::SimpleString::~SimpleString |
( |
| ) |
|
|
inline |
◆ createImpl()
void SafeAny::SimpleString::createImpl |
( |
const char * |
input_data, |
|
|
std::size_t |
size |
|
) |
| |
|
inlineprivate |
◆ data()
const char* SafeAny::SimpleString::data |
( |
| ) |
const |
|
inline |
◆ isSOO()
bool SafeAny::SimpleString::isSOO |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool SafeAny::SimpleString::operator!= |
( |
const SimpleString & |
other | ) |
const |
|
inline |
◆ operator<()
bool SafeAny::SimpleString::operator< |
( |
const SimpleString & |
other | ) |
const |
|
inline |
◆ operator<=()
bool SafeAny::SimpleString::operator<= |
( |
const SimpleString & |
other | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool SafeAny::SimpleString::operator== |
( |
const SimpleString & |
other | ) |
const |
|
inline |
◆ operator>()
bool SafeAny::SimpleString::operator> |
( |
const SimpleString & |
other | ) |
const |
|
inline |
◆ operator>=()
bool SafeAny::SimpleString::operator>= |
( |
const SimpleString & |
other | ) |
const |
|
inline |
◆ size()
std::size_t SafeAny::SimpleString::size |
( |
| ) |
const |
|
inline |
◆ toStdString()
std::string SafeAny::SimpleString::toStdString |
( |
| ) |
const |
|
inline |
◆ toStdStringView()
std::string_view SafeAny::SimpleString::toStdStringView |
( |
| ) |
const |
|
inline |
◆ _storage
union { ... } SafeAny::SimpleString::_storage |
◆ CAPACITY
constexpr static std::size_t SafeAny::SimpleString::CAPACITY = 15 |
|
staticconstexprprivate |
◆ capacity_left
uint8_t SafeAny::SimpleString::capacity_left |
◆ data
char SafeAny::SimpleString::data[CAPACITY] |
◆ IS_LONG_BIT
constexpr static std::size_t SafeAny::SimpleString::IS_LONG_BIT = 1 << 7 |
|
staticconstexprprivate |
◆ LONG_MASK
constexpr static std::size_t SafeAny::SimpleString::LONG_MASK = (~std::size_t(0)) >> 1 |
|
staticconstexprprivate |
◆ MAX_SIZE
constexpr static std::size_t SafeAny::SimpleString::MAX_SIZE = 100UL * 1024UL * 1024UL |
|
staticconstexprprivate |
◆ soo
struct { ... } ::SOO SafeAny::SimpleString::soo |
◆ str
String SafeAny::SimpleString::str |
The documentation for this class was generated from the following file: