MCRO
C++23 utilities for Unreal Engine.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Conversion.h File Reference
#include <ranges>
#include "CoreMinimal.h"
#include "Mcro/Concepts.h"
#include "Mcro/Range/Iterators.h"
#include "Mcro/Text/TupleAsString.h"
#include "Mcro/Templates.h"
#include "Mcro/Text.h"
#include "Mcro/LibraryIncludes/Start.h"
#include "range/v3/all.hpp"
#include "Mcro/LibraryIncludes/End.h"

Go to the source code of this file.

Data Structures

struct  Mcro::Range::FRangeStringFormatOptions
 
struct  Mcro::Range::Detail::TRangeWithStringFormat< Range >
 
class  Mcro::Range::RenderAs< Target >
 Render a range as the given container. More...
 
class  Mcro::Range::OutputTo< Target >
 Render a range to an already existing container. More...
 
class  Mcro::Range::RenderAsMap
 Render a range of tuples or range of ranges with at least 2 elements as a TMap. More...
 
class  Mcro::Range::OutputToMap< Target >
 Output a range of tuples or range of ranges with at least 2 elements to an already existing TMap. More...
 
struct  Mcro::Text::TAsFormatArgument< Operand >
 Convert Unreal/STL/Range-V3 tuples to string the following way: (Item0, Item1, Item2, ...) More...
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Range
 
namespace  Mcro::Range::Detail
 
namespace  Mcro::Text
 Mixed text utilities and type traits.
 

Functions

FORCEINLINE auto Mcro::Range::Separator (FString const &separator)
 Specify a separator sequence for a range when converting it to a string.
 
FORCEINLINE auto Mcro::Range::Enclosure (FString const &start, FString const &end)
 Specify a start and an end sequence enclosing this range when converting it to a string.
 
FORCEINLINE auto Mcro::Range::NoSeparator ()
 Don't use a separator when this range is rendered to a string.
 
FORCEINLINE auto Mcro::Range::NoEnclosure ()
 Don't enclose this range in anything when it's rendered to a string.
 
FORCEINLINE auto Mcro::Range::NoDecorators ()
 Don't insert anything else than the contents of the input range when that is rendered as a string just append each item one after the other.
 
template<typename CharType >
void Mcro::Range::Detail::CopyCharactersToBuffer (CharType const &value, int32 chunks, int32 &position, TArray< CharType > &buffer)
 
template<CStringOrView String>
void Mcro::Range::Detail::CopyStringToBufferUnsafe (String const &value, int32 &position, TArray< TCHAR > &buffer)
 
template<CStringOrView String>
void Mcro::Range::Detail::CopyStringItemToBuffer (String const &value, FString const &separator, int32 chunks, int32 &position, TArray< TCHAR > &buffer)
 
template<CRangeMember Range>
FString Mcro::Range::RenderAsString (Range &&range)
 Render an input range as a string.
 
FORCEINLINE auto Mcro::Range::RenderAsString ()
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Conversion.h.