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
UCLASS (MinimalAPI)
class UTextBuffer :
public UObject ,
public FOutputDevice
Inheritance Hierarchy
- FOutputDevice → UTextBuffer
- UObjectBase → UObjectBaseUtility → UObject → UTextBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTextBuffer
(
const FObjectInitializer& ObjectInitializer |
Default constructor for UObject system | Misc/TextBuffer.h | |
UTextBuffer
(
const TCHAR* InText |
Creates and initializes a new text buffer. | Misc/TextBuffer.h | |
UTextBuffer
(
const FObjectInitializer& ObjectInitializer, |
Creates and initializes a new text buffer. | 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 |