MCRO
C++23 utilities for Unreal Engine.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Yaml.h File Reference
#include "CoreMinimal.h"
#include "Mcro/Text.h"
#include "Mcro/LibraryIncludes/Start.h"
#include "PreMagicEnum.h"
#include "magic_enum.hpp"
#include "yaml-cpp/yaml.h"
#include "Mcro/LibraryIncludes/End.h"

Go to the source code of this file.

Data Structures

class  Mcro::Yaml::TScopedRegion< Begin, End >
 RAII friendly region annotation for YAML::Emitter streams. More...
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Yaml
 

Typedefs

using Mcro::Yaml::FMap = TScopedRegion<YAML::BeginMap, YAML::EndMap>
 Annotate a mapping region in a YAML::Emitter stream, which ends when this object goes out of scope.
 
using Mcro::Yaml::FSeq = TScopedRegion<YAML::BeginSeq, YAML::EndSeq>
 Annotate a sequence region in a YAML::Emitter stream, which ends when this object goes out of scope.
 

Functions

template<typename String >
requires (CStringOrViewOrName<String> || CStdStringOrView<String>)
YAML::Emitter & Mcro::Yaml::operator<< (YAML::Emitter &out, String &&v)
 Convenience operator to append Unreal or potentially wide strings to YAML::Emitter streams.
 
template<CEnum Enum>
YAML::Emitter & Mcro::Yaml::operator<< (YAML::Emitter &out, Enum v)
 Convenience operator to append enums as strings to a YAML::Emitter streams.
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Yaml.h.