UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TextBuffer.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "CoreMinimal.h"
7#include "HAL/Platform.h"
9#include "Misc/OutputDevice.h"
11#include "UObject/NameTypes.h"
12#include "UObject/Object.h"
15
16#include "TextBuffer.generated.h"
17
18class FArchive;
19
25UCLASS(MinimalAPI)
29{
31
32public:
35
43
50
51public:
52
58 const FString& GetText () const
59 {
60 return Text;
61 }
62
63public:
64
65 virtual void Serialize(FArchive& Ar) override;
66 virtual void Serialize(FStructuredArchive::FRecord Record) override;
67 virtual void Serialize (const TCHAR* Data, ELogVerbosity::Type Verbosity, const class FName& Category ) override;
68 virtual void Serialize( const TCHAR* V, ELogVerbosity::Type Verbosity, const class FName& Category, const double Time ) override;
69
70private:
71
72 int32 Pos, Top;
73
75 FString Text;
76};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ Top
Definition MaterialExpressionFunctionInput.h:42
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition Archive.h:1208
Definition NameTypes.h:617
Definition UObjectGlobals.h:1292
Definition OutputDevice.h:133
Definition StructuredArchiveSlots.h:144
Definition Object.h:95
Definition TextBuffer.h:29
virtual void Serialize(FStructuredArchive::FRecord Record) override
const FString & GetText() const
Definition TextBuffer.h:58
Type
Definition LogVerbosity.h:17