|
|
| FIniFile ()=default |
|
| FIniFile (const FString &FileName) |
|
|
bool | Combine (const FString &FileName) |
|
void | ProcessInputFileContents (const FString &INIFileContents) |
|
bool | HasSection (const FString &Section) const |
|
void | AddSectionIfMissing (const FString &Section) |
|
bool | Write (const FString &Filename) |
| Write contents to disk.
|
|
const FConfigFile & | GetFConfigFile () const |
| Retrieve Unreal's FConfigFile.
|
|
|
template<typename T > |
void | GetInt (const TCHAR *Section, const TCHAR *Key, T &Target) const |
|
void | GetString (const TCHAR *Section, const TCHAR *Key, FString &Target) const |
|
void | GetBool (const TCHAR *Section, const TCHAR *Key, bool &Target) const |
|
void | GetFloat (const TCHAR *Section, const TCHAR *Key, float &Target, const float Factor=1.0f) const |
|
void | GetLinearColor (const TCHAR *Section, const TCHAR *Key, FLinearColor &Target) const |
|
|
void | SetInt (const TCHAR *Section, const TCHAR *Key, const int64 Value) |
|
void | SetString (const TCHAR *Section, const TCHAR *Key, const TCHAR *Value) |
|
void | SetString (const TCHAR *Section, const TCHAR *Key, const FString &Value) |
|
void | SetBool (const TCHAR *Section, const TCHAR *Key, const bool Value) |
|
void | SetFloat (const TCHAR *Section, const TCHAR *Key, const float Value) |
|
void | SetLinearColor (const TCHAR *Section, const TCHAR *Key, const FLinearColor &Value) |
|
Wrapper around Unreal's INI file.
In get functions, Target value is only set if it was present in the INI file, otherwise it keeps its value.
在文件 IniFile.h 第 15 行定义.