Go to the documentation of this file.
69 return size() > 0 ? std::string(
data(),
size()) : std::string();
103 return other.
size() == N && std::strncmp(
data(), other.
data(), N) == 0;
109 return other.
size() != N || std::strncmp(
data(), other.
data(), N) != 0;
114 return std::strcmp(
data(), other.
data()) <= 0;
119 return std::strcmp(
data(), other.
data()) >= 0;
124 return std::strcmp(
data(), other.
data()) < 0;
129 return std::strcmp(
data(), other.
data()) > 0;
147 constexpr
static std::size_t
MAX_SIZE = 100UL * 1024UL * 1024UL;
165 throw std::invalid_argument(
"size too large for a simple string");
SimpleString(const std::string_view &str)
const char * data() const
struct SafeAny::SimpleString::@15::SOO soo
SimpleString & operator=(SimpleString &&other)
bool operator<=(const SimpleString &other) const
SimpleString(const char *input_data, std::size_t size)
void createImpl(const char *input_data, std::size_t size)
SimpleString(const char *input_data)
constexpr static std::size_t MAX_SIZE
std::string toStdString() const
SimpleString & operator=(const SimpleString &other)
SimpleString(const std::string &str)
SimpleString(SimpleString &&other)
bool operator<(const SimpleString &other) const
std::string_view toStdStringView() const
bool operator>(const SimpleString &other) const
bool operator>=(const SimpleString &other) const
constexpr static std::size_t LONG_MASK
constexpr static std::size_t IS_LONG_BIT
SimpleString(const SimpleString &other)
constexpr static std::size_t CAPACITY
bool operator==(const SimpleString &other) const
NLOHMANN_BASIC_JSON_TPL_DECLARATION void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL &j1, nlohmann::NLOHMANN_BASIC_JSON_TPL &j2) noexcept(//NOLINT(readability-inconsistent-declaration-parameter-name, cert-dcl58-cpp) is_nothrow_move_constructible< nlohmann::NLOHMANN_BASIC_JSON_TPL >::value &&//NOLINT(misc-redundant-expression, cppcoreguidelines-noexcept-swap, performance-noexcept-swap) is_nothrow_move_assignable< nlohmann::NLOHMANN_BASIC_JSON_TPL >::value)
exchanges the values of two JSON objects
union SafeAny::SimpleString::@15 _storage
bool operator!=(const SimpleString &other) const
basic_string_view< char > string_view