MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Yaml Namespace Reference

Data Structures

class  TScopedRegion
 

Typedefs

using FMap = TScopedRegion<YAML::BeginMap, YAML::EndMap>
 
using FSeq = TScopedRegion<YAML::BeginSeq, YAML::EndSeq>
 

Functions

template<typename String >
requires (CStringOrViewOrName<String> || CStdStringOrView<String>)
YAML::Emitter & operator<< (YAML::Emitter &out, String &&v)
 
template<CEnum Enum>
YAML::Emitter & operator<< (YAML::Emitter &out, Enum v)
 

Typedef Documentation

◆ FMap

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

Definition at line 50 of file Yaml.h.

◆ FSeq

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

Definition at line 53 of file Yaml.h.

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 66 of file Yaml.h.

◆ operator<<() [2/2]

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

Definition at line 58 of file Yaml.h.