FLocTextWordCounts

Class that manages the word count reporting of the various cultures.

Windows
MacOS
Linux

References

Module

Localization

Header

/Engine/Source/Developer/Localization/Public/LocTextHelper.h

Include

#include "LocTextHelper.h"

Syntax

class FLocTextWordCounts

Remarks

Class that manages the word count reporting of the various cultures.

Functions

Name Description

Public function

FRowData &

 

AddRow

(
    int32* OutIndex
)

Add a new row and get its data.

Public function

bool

 

FromCSV

(
    const FString& InCSVString,
    FText* OutError
)

Populate this word count report from a CSV string (clears any existing data).

Public function

FRowData ...

 

GetRow

(
    const int32 InIndex
)

Get the data for a row from its index.

Public function Const

const FRowDa...

 

GetRow

(
    const int32 InIndex
)

Get the data for a row from its index.

Public function Const

int32

 

GetRowCount()

Public function

FString

 

ToCSV()

Write this word count report to a CSV string.

Public function

void

 

TrimReport()

Trim entries from the report for the cases where the word counts haven't changed between consecutive rows (as ordered by date).

Classes

Name

Description

Public struct

FRowData

Data representing a single word count row

Constants

Name

Description

ColHeadingDateTime

Constant column headings for the CSV.

ColHeadingWordCount

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss