|
rapidyaml 0.15.0
parse and emit YAML, and do it fast
|
wraps a NodeType_e element with some syntactic sugar and predicates More...
#include <node_type.hpp>
Public Member Functions | |
| NodeType () noexcept | |
| NodeType (NodeType_e t) noexcept | |
| NodeType (type_bits t) noexcept | |
| bool | has_any (NodeType_e t) const noexcept |
| bool | has_all (NodeType_e t) const noexcept |
| bool | has_none (NodeType_e t) const noexcept |
| void | set (NodeType_e t) noexcept |
| void | add (NodeType_e t) noexcept |
| void | rem (NodeType_e t) noexcept |
| void | addrem (NodeType_e bits_to_add, NodeType_e bits_to_remove) noexcept |
| void | clear () noexcept |
| operator NodeType_e & () noexcept | |
| operator NodeType_e const & () const noexcept | |
style functions | |
| bool | is_container_styled () const noexcept |
| bool | is_block () const noexcept |
| bool | is_flow_sl () const noexcept |
| bool | is_flow_ml1 () const noexcept |
| bool | is_flow_mln () const noexcept |
| bool | is_flow_mlx () const noexcept |
| bool | is_flow () const noexcept |
| bool | has_flow_space () const noexcept |
| bool | is_key_styled () const noexcept |
| bool | is_val_styled () const noexcept |
| bool | is_key_literal () const noexcept |
| bool | is_val_literal () const noexcept |
| bool | is_key_folded () const noexcept |
| bool | is_val_folded () const noexcept |
| bool | is_key_squo () const noexcept |
| bool | is_val_squo () const noexcept |
| bool | is_key_dquo () const noexcept |
| bool | is_val_dquo () const noexcept |
| bool | is_key_plain () const noexcept |
| bool | is_val_plain () const noexcept |
| bool | is_key_quoted () const noexcept |
| bool | is_val_quoted () const noexcept |
| bool | is_quoted () const noexcept |
| NodeType | key_style () const noexcept |
| NodeType | val_style () const noexcept |
| void | set_container_style (NodeType_e style) noexcept |
| void | set_key_style (NodeType_e style) noexcept |
| void | set_val_style (NodeType_e style) noexcept |
| void | clear_style () noexcept |
Public Attributes | |
| NodeType_e | type |
node type queries | |
| const char * | type_str () const noexcept |
| return a preset string based on the node type | |
| size_t | type_str (substr buf) const noexcept |
| fill a string with the node type flags. | |
| csubstr | type_str_sub (substr buf) const noexcept |
| fill a string with the node type flags. | |
| bool | is_notype () const noexcept |
| bool | is_stream () const noexcept |
| bool | is_doc () const noexcept |
| bool | is_container () const noexcept |
| bool | is_map () const noexcept |
| bool | is_seq () const noexcept |
| bool | has_key () const noexcept |
| bool | has_val () const noexcept |
| bool | is_val () const noexcept |
| bool | is_keyval () const noexcept |
| bool | key_is_null () const noexcept |
| bool | val_is_null () const noexcept |
| bool | has_key_tag () const noexcept |
| bool | has_val_tag () const noexcept |
| bool | has_key_anchor () const noexcept |
| bool | has_val_anchor () const noexcept |
| bool | has_anchor () const noexcept |
| bool | is_key_ref () const noexcept |
| bool | is_val_ref () const noexcept |
| bool | is_ref () const noexcept |
| bool | is_key_unfiltered () const noexcept |
| bool | is_val_unfiltered () const noexcept |
| static const char * | type_str (NodeType_e t) noexcept |
| return a preset string based on the node type | |
| static size_t | type_str (substr buf, NodeType_e t) noexcept |
| fill a string with the node type flags. | |
| static csubstr | type_str_sub (substr buf, NodeType_e t) noexcept |
| fill a string with the node type flags. | |
wraps a NodeType_e element with some syntactic sugar and predicates
Definition at line 225 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 233 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 234 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 235 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 237 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 238 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 239 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 241 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 242 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 243 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 244 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 246 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 250 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 251 of file node_type.hpp.
|
inlinenoexcept |
return a preset string based on the node type
Definition at line 259 of file node_type.hpp.
|
staticnoexcept |
return a preset string based on the node type
Definition at line 12 of file node_type.cpp.
|
inlinenoexcept |
fill a string with the node type flags.
Definition at line 264 of file node_type.hpp.
|
staticnoexcept |
fill a string with the node type flags.
Definition at line 69 of file node_type.cpp.
fill a string with the node type flags.
If the string is small, returns {null, len}
Definition at line 269 of file node_type.hpp.
|
inlinestaticnoexcept |
fill a string with the node type flags.
If the string is small, returns {null, len}
Definition at line 271 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 284 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 285 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 286 of file node_type.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 288 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 289 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 290 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 291 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 292 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 293 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 294 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 295 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 296 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 297 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 298 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 299 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 300 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 301 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 302 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 303 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 305 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 306 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 315 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 316 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 317 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 318 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 319 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 320 of file node_type.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 322 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 324 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 325 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 326 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 327 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 328 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 329 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 330 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 331 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 332 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 333 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 334 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 335 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 336 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 337 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 338 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 340 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 341 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 343 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 344 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 345 of file node_type.hpp.
|
inlinenoexcept |
Definition at line 346 of file node_type.hpp.
| NodeType_e c4::yml::NodeType::type |
Definition at line 229 of file node_type.hpp.