Navigation
API > API/Runtime > API/Runtime/CoreUObject
Implements an object that buffers text.
The text is contiguous and, if of nonzero length, is terminated by a NULL at the very last position.
| Name | UTextBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Misc/TextBuffer.h |
| Include Path | #include "Misc/TextBuffer.h" |
Syntax
class UTextBuffer :
public UObject ,
public FOutputDevice
Inheritance Hierarchy
- FOutputDevice → UTextBuffer
- UObjectBase → UObjectBaseUtility → UObject → UTextBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTextBuffer
(
const TCHAR* InText |
Creates and initializes a new text buffer. | Misc/TextBuffer.h | |
UTextBuffer
(
const FObjectInitializer& ObjectInitializer |
Misc/TextBuffer.h | ||
UTextBuffer
(
FVTableHelper& Helper |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. | Misc/TextBuffer.h | |
UTextBuffer
(
const FObjectInitializer& ObjectInitializer, |
Creates and initializes a new text buffer. | Misc/TextBuffer.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | UObject | Typedef for the base class (UObject) | Misc/TextBuffer.h |
| ThisClass | UTextBuffer | Typedef for UTextBuffer. | Misc/TextBuffer.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticClassFlags | EClassFlags | Bitwise union of EClassFlags pertaining to this class. | Misc/TextBuffer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Pos | int32 | Misc/TextBuffer.h | ||
| Text | FString | Holds the text. | Misc/TextBuffer.h | |
| Top | int32 | Misc/TextBuffer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetText() |
Gets the buffered text. | Misc/TextBuffer.h | |
virtual void Serialize
(
const TCHAR* Data, |
Misc/TextBuffer.h | ||
virtual void Serialize
(
const TCHAR* V, |
Misc/TextBuffer.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Handles reading, writing, and reference collecting using FArchive. | Misc/TextBuffer.h | ||
virtual void Serialize
(
FStructuredArchive::FRecord Record |
Misc/TextBuffer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void __DefaultConstructor
(
const FObjectInitializer& X |
Misc/TextBuffer.h | ||
static UObject * __VTableCtorCaller
(
FVTableHelper& Helper |
Misc/TextBuffer.h | ||
static COREUOBJECT_APIUClass * GetPrivateStaticClass() |
Misc/TextBuffer.h | ||
static void IntrinsicClassInit
(
UClass* Class |
Misc/TextBuffer.h | ||
static UClass * StaticClass() |
Returns a UClass object representing this class at runtime | Misc/TextBuffer.h | |
static EClassCastFlags StaticClassCastFlags() |
Returns the static cast flags for this class | Misc/TextBuffer.h | |
static const TCHAR * StaticPackage() |
Returns the package this class belongs in | Misc/TextBuffer.h | |
static void StaticRegisterNativesUTextBuffer() |
Misc/TextBuffer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator delete
(
void* InMem |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. | Misc/TextBuffer.h | |
void * operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | Misc/TextBuffer.h | |
void * operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | Misc/TextBuffer.h | |
UTextBuffer & operator=
(
UTextBuffer&& |
Misc/TextBuffer.h | ||
UTextBuffer & operator=
(
const UTextBuffer& |
Misc/TextBuffer.h |