Unravel Engine C++ Reference
Loading...
Searching...
No Matches
yaml.hpp File Reference

YAML input and output archives. More...

#include <ser20/details/util.hpp>
#include <ser20/external/base64.hpp>
#include <ser20/ser20.hpp>
#include <yaml-cpp/yaml.h>
#include <cstring>
#include <limits>
#include <sstream>
#include <stack>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  ser20::YAMLOutputArchive
 
class  ser20::YAMLInputArchive
 

Namespaces

namespace  ser20
 

Functions

template<class T >
void ser20::prologue (YAMLOutputArchive &, NameValuePair< T > const &)
 Prologue for NVPs for YAML archives.
 
template<class T >
void ser20::prologue (YAMLInputArchive &, NameValuePair< T > const &)
 Prologue for NVPs for YAML archives.
 
template<class T >
void ser20::epilogue (YAMLOutputArchive &, NameValuePair< T > const &)
 Epilogue for NVPs for YAML archives.
 
template<class T >
void ser20::epilogue (YAMLInputArchive &, NameValuePair< T > const &)
 Epilogue for NVPs for YAML archives.
 
template<class T >
void ser20::prologue (YAMLOutputArchive &ar, SizeTag< T > const &)
 Prologue for SizeTags for YAML archives.
 
template<class T >
void ser20::prologue (YAMLInputArchive &, SizeTag< T > const &)
 Prologue for SizeTags for YAML archives.
 
template<class T >
void ser20::epilogue (YAMLOutputArchive &, SizeTag< T > const &)
 Epilogue for SizeTags for YAML archives.
 
template<class T >
void ser20::epilogue (YAMLInputArchive &, SizeTag< T > const &)
 Epilogue for SizeTags for YAML archives.
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_output_serialization, YAMLOutputArchive>::value && !traits::has_minimal_output_serialization<T, YAMLOutputArchive>::value)
void ser20::prologue (YAMLOutputArchive &ar, T const &)
 Prologue for all other types for YAML archives (except minimal types)
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_input_serialization, YAMLInputArchive>::value && !traits::has_minimal_input_serialization<T, YAMLInputArchive>::value)
void ser20::prologue (YAMLInputArchive &ar, T const &)
 Prologue for all other types for YAML archives.
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_output_serialization, YAMLOutputArchive>::value && !traits::has_minimal_output_serialization<T, YAMLOutputArchive>::value)
void ser20::epilogue (YAMLOutputArchive &ar, T const &)
 Epilogue for all other types other for YAML archives (except minimal types)
 
template<class T >
requires (!std::is_arithmetic_v<T> && !traits::has_minimal_base_class_serialization<T, traits::has_minimal_input_serialization, YAMLInputArchive>::value && !traits::has_minimal_input_serialization<T, YAMLInputArchive>::value)
void ser20::epilogue (YAMLInputArchive &ar, T const &)
 Epilogue for all other types other for YAML archives.
 
void ser20::prologue (YAMLOutputArchive &ar, std::nullptr_t const &)
 Prologue for arithmetic types for YAML archives.
 
void ser20::prologue (YAMLInputArchive &, std::nullptr_t const &)
 Prologue for arithmetic types for YAML archives.
 
void ser20::epilogue (YAMLOutputArchive &, std::nullptr_t const &)
 Epilogue for arithmetic types for YAML archives.
 
void ser20::epilogue (YAMLInputArchive &, std::nullptr_t const &)
 Epilogue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::prologue (YAMLOutputArchive &ar, T const &)
 Prologue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::prologue (YAMLInputArchive &, T const &)
 Prologue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::epilogue (YAMLOutputArchive &, T const &)
 Epilogue for arithmetic types for YAML archives.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::epilogue (YAMLInputArchive &, T const &)
 Epilogue for arithmetic types for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void ser20::prologue (YAMLOutputArchive &ar, std::basic_string< CharT, Traits, Alloc > const &)
 Prologue for strings for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void ser20::prologue (YAMLInputArchive &, std::basic_string< CharT, Traits, Alloc > const &)
 Prologue for strings for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void ser20::epilogue (YAMLOutputArchive &, std::basic_string< CharT, Traits, Alloc > const &)
 Epilogue for strings for YAML archives.
 
template<class CharT , class Traits , class Alloc >
void ser20::epilogue (YAMLInputArchive &, std::basic_string< CharT, Traits, Alloc > const &)
 Epilogue for strings for YAML archives.
 
template<class T >
void ser20::SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, NameValuePair< T > const &t)
 Serializing NVP types to YAML.
 
template<class T >
void ser20::SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, NameValuePair< T > &t)
 
void ser20::SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, std::nullptr_t const &t)
 Saving for nullptr to YAML.
 
void ser20::SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, std::nullptr_t &t)
 Loading arithmetic from YAML.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, T const &t)
 Saving for arithmetic to YAML.
 
template<class T >
requires (std::is_arithmetic_v<T>)
void ser20::SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, T &t)
 Loading arithmetic from YAML.
 
template<class CharT , class Traits , class Alloc >
void ser20::SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &ar, std::basic_string< CharT, Traits, Alloc > const &str)
 saving string to YAML
 
template<class CharT , class Traits , class Alloc >
void ser20::SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, std::basic_string< CharT, Traits, Alloc > &str)
 loading string from YAML
 
template<class T >
void ser20::SER20_SAVE_FUNCTION_NAME (YAMLOutputArchive &, SizeTag< T > const &)
 Saving SizeTags to YAML.
 
template<class T >
void ser20::SER20_LOAD_FUNCTION_NAME (YAMLInputArchive &ar, SizeTag< T > &st)
 Loading SizeTags from YAML.
 

Detailed Description

YAML input and output archives.

Definition in file yaml.hpp.