eosio::rope
#include <rope.hpp>
Public Functions
Name | |
---|---|
rope(const char * s) | |
rope(std::string_view s ="") | |
template <size_t N> constexpr void | append(const char(&) s[N]) |
void | append(const char * s, size_t len) |
constexpr char | at(size_t index) |
constexpr void | append(const rope & r) |
constexpr void | append(rope && r) |
constexpr char | operator[](size_t index) |
constexpr rope & | operator+=(const char * s) |
constexpr rope & | operator+=(const rope & r) |
constexpr rope & | operator+=(rope && r) |
constexpr size_t | length() |
void | print() const |
char * | c_str() const |
std::string_view | sv() const |
Friends
Name | |
---|---|
rope | operator+(rope lhs, const char * s) |
rope | operator+(rope lhs, const rope & rhs) |
rope | operator+(rope lhs, rope && rhs) |
Public Functions Documentation
function rope
inline rope(
const char * s
)
function rope
inline rope(
std::string_view s =""
)
function append
template <size_t N>
inline constexpr void append(
const char(&) s[N]
)
function append
inline void append(
const char * s,
size_t len
)
function at
inline constexpr char at(
size_t index
)
function append
inline constexpr void append(
const rope & r
)
function append
inline constexpr void append(
rope && r
)
function operator[]
inline constexpr char operator[](
size_t index
)
function operator+=
inline constexpr rope & operator+=(
const char * s
)
function operator+=
inline constexpr rope & operator+=(
const rope & r
)
function operator+=
inline constexpr rope & operator+=(
rope && r
)
function length
inline constexpr size_t length()
function print
inline void print() const
function c_str
inline char * c_str() const
function sv
inline std::string_view sv() const
Friends
friend operator+
friend rope operator+(
rope lhs,
const char * s
);
friend operator+
friend rope operator+(
rope lhs,
const rope & rhs
);
friend operator+
friend rope operator+(
rope lhs,
rope && rhs
);
Updated on 2022-12-05 at 15:38:07 +0000