본문으로 건너뛰기

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])
voidappend(const char * s, size_t len)
constexpr charat(size_t index)
constexpr voidappend(const rope & r)
constexpr voidappend(rope && r)
constexpr charoperator[](size_t index)
constexpr rope &operator+=(const char * s)
constexpr rope &operator+=(const rope & r)
constexpr rope &operator+=(rope && r)
constexpr size_tlength()
voidprint() const
char *c_str() const
std::string_viewsv() const

Friends

Name
ropeoperator+(rope lhs, const char * s)
ropeoperator+(rope lhs, const rope & rhs)
ropeoperator+(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