Function operator<<
Summary
#include <src/c4/yml/node.hpp>
(1) NodeRef & operator<<(csubstr const &s)
(2) template <class T>
NodeRef & operator<<(T const &v)
(3) template <class T>
NodeRef & operator<<(Key< const T > const &v)
(4) template <class T>
NodeRef & operator<<(Key< T > const &v)
(5) NodeRef & operator<<(Key< fmt::const_base64_wrapper > w)
(6) NodeRef & operator<<(fmt::const_base64_wrapper w)
Function overload
Synopsis
#include <src/c4/yml/node.hpp>
NodeRef & operator<<(csubstr const &s)
Description
serialize a variable, then assign the result to the node's key
Source
Lines 462-470 in src/c4/yml/node.hpp.
inline NodeRef& operator<< (csubstr const& s)
{
// this overload is needed to prevent ambiguity (there's also
// operator<< for writing a substr to a stream)
_apply_seed();
write(this, s);
RYML_ASSERT(val() == s);
return *this;
}
Synopsis
#include <src/c4/yml/node.hpp>
template <class T>
NodeRef & operator<<(T const &v)
Description
No description yet.
Source
Lines 472-478 in src/c4/yml/node.hpp.
template<class T>
inline NodeRef& operator<< (T const& v)
{
_apply_seed();
write(this, v);
return *this;
}
Synopsis
#include <src/c4/yml/node.hpp>
template <class T>
NodeRef & operator<<(Key< const T > const &v)
Description
serialize a variable, then assign the result to the node's key
Source
Lines 496-502 in src/c4/yml/node.hpp.
template<class T>
inline NodeRef& operator<< (Key<const T> const& v)
{
_apply_seed();
set_key_serialized(v.k);
return *this;
}
Synopsis
#include <src/c4/yml/node.hpp>
template <class T>
NodeRef & operator<<(Key< T > const &v)
Description
serialize a variable, then assign the result to the node's key
Source
Lines 505-511 in src/c4/yml/node.hpp.
template<class T>
inline NodeRef& operator<< (Key<T> const& v)
{
_apply_seed();
set_key_serialized(v.k);
return *this;
}
Synopsis
#include <src/c4/yml/node.hpp>
NodeRef & operator<<(Key< fmt::const_base64_wrapper > w)
Description
No description yet.
Source
Lines 526-530 in src/c4/yml/node.hpp.
NodeRef& operator<< (Key<fmt::const_base64_wrapper> w)
{
set_key_serialized(w.wrapper);
return *this;
}
Synopsis
#include <src/c4/yml/node.hpp>
NodeRef & operator<<(fmt::const_base64_wrapper w)
Description
No description yet.
Source
Lines 532-536 in src/c4/yml/node.hpp.
NodeRef& operator<< (fmt::const_base64_wrapper w)
{
set_val_serialized(w);
return *this;
}