UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCsvParser Struct Reference

#include <CsvParser.h>

Public Types

typedef TArray< TArray< const TCHAR * > > FRows
 

Public Member Functions

CORE_API FCsvParser (FString &&InSourceString)
 
CORE_API FCsvParser (const FString &InSourceString)
 
const FRowsGetRows () const
 
 FCsvParser (FCsvParser &&)=delete
 
 FCsvParser (const FCsvParser &)=delete
 
FCsvParseroperator= (FCsvParser &&)=delete
 
FCsvParseroperator= (const FCsvParser &)=delete
 

Detailed Description

A simple, efficient csv parser

Member Typedef Documentation

◆ FRows

Constructor & Destructor Documentation

◆ FCsvParser() [1/4]

FCsvParser::FCsvParser ( FString &&  InSourceString)

Construct with a string. Takes a copy because the parser tramples over the file to create null-terminated cell strings Avoid a copy by passing overship of the source string with MoveTemp()

◆ FCsvParser() [2/4]

FCsvParser::FCsvParser ( const FString &  InSourceString)

◆ FCsvParser() [3/4]

FCsvParser::FCsvParser ( FCsvParser &&  )
delete

Non copyable - has pointers to itself

◆ FCsvParser() [4/4]

FCsvParser::FCsvParser ( const FCsvParser )
delete

Member Function Documentation

◆ GetRows()

const FRows & FCsvParser::GetRows ( ) const
inline

Const access to the parsed rows Rows are stored as arrays of parsed, null-terminated cell-strings. Object (and contained strings) is valid for the lifetime of the parser.

◆ operator=() [1/2]

FCsvParser & FCsvParser::operator= ( const FCsvParser )
delete

◆ operator=() [2/2]

FCsvParser & FCsvParser::operator= ( FCsvParser &&  )
delete

The documentation for this struct was generated from the following files: