Public API

Summary

c4

RYML_INLINE inline

RYML_USE_ASSERT C4_USE_ASSERT

RYML_ASSERT(cond)

RYML_ASSERT_MSG(cond,...)

RYML_CHECK(cond)
if(!(cond)) { ::c4::yml::error("expected true: " #cond); }

RYML_CHECK_MSG(cond,msg)
if(!(cond)) { ::c4::yml::error(msg ": expected true: " #cond); }

_rymlindent_nextline()
for(size_t lv = 0; lv < ilevel+1; ++lv) { this->Writer::_do_write(" "); }

RYML_EXPORT

_C4RV()
RYML_ASSERT(valid() && !is_seed())

RYML_ERRMSG_SIZE 1024

_wrapbuf()
pos += del; len -= del; if(len < 0) { pos = 0; len = buflen; }

_prflag(fl)
if((v & (fl)) == (fl))
{
if(!gotone)
{
gotone = true;
}
else
{
del = snprintf(buf + pos, static_cast<size_t>(len), "|");
_wrapbuf();
}
del = snprintf(buf + pos, static_cast<size_t>(len), #fl);
_wrapbuf();
}

_apfromlast()
{ csubstr _s_ = s.range(last, i); _append(_s_); last += _s_.len; }

_apelm(c)
{ _append(c); ++last; }

_adv(nsrc,ndst)
{ _append.advance(ndst); i += nsrc; last += nsrc; }

c4bit(v)
(type_bits(1) << v)

a convenience define, undefined below

_check_next_flags(node,f)






Add Discussion as Guest

Log in