CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Private 成员函数 | Private 属性 | 所有成员列表
FIniFile类 参考

#include <IniFile.h>

+ 类 FIniFile 继承关系图:
+ FIniFile 的协作图:

Public 成员函数

 FIniFile ()=default
 使用来明确一个功能组的范围
 
 FIniFile (const FString &FileName)
 
Other functions 其他功能函数相关区域的开始标记
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)
 
const FConfigFile & GetFConfigFile () const
 
Get functions 获取配置项相关函数区域的开始标记
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
 
Set functions 设置配置项相关函数区域的开始标记
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)
 

静态 Private 成员函数

template<typename TARGET , typename SOURCE >
static void SafeCastTo (SOURCE source, TARGET &target)
 

Private 属性

FConfigFile ConfigFile
 

额外继承的成员函数

- Private 成员函数 继承自 NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

详细描述

在文件 IniFile.h18 行定义.

构造及析构函数说明

◆ FIniFile() [1/2]

FIniFile::FIniFile ( )
default

使用来明确一个功能组的范围

◆ FIniFile() [2/2]

FIniFile::FIniFile ( const FString & FileName)
inlineexplicit

在文件 IniFile.h48 行定义.

成员函数说明

◆ AddSectionIfMissing()

void FIniFile::AddSectionIfMissing ( const FString & Section)
inline

在文件 IniFile.h85 行定义.

◆ Combine()

bool FIniFile::Combine ( const FString & FileName)
inline

在文件 IniFile.h63 行定义.

◆ GetBool()

void FIniFile::GetBool ( const TCHAR * Section,
const TCHAR * Key,
bool & Target ) const
inline

在文件 IniFile.h145 行定义.

被这些函数引用 LoadSettingsFromConfig().

+ 这是这个函数的调用关系图:

◆ GetFConfigFile()

const FConfigFile & FIniFile::GetFConfigFile ( ) const
inline

在文件 IniFile.h102 行定义.

◆ GetFloat()

void FIniFile::GetFloat ( const TCHAR * Section,
const TCHAR * Key,
float & Target,
const float Factor = 1.0f ) const
inline

在文件 IniFile.h159 行定义.

◆ GetInt()

template<typename T >
void FIniFile::GetInt ( const TCHAR * Section,
const TCHAR * Key,
T & Target ) const
inline

在文件 IniFile.h118 行定义.

被这些函数引用 LoadSettingsFromConfig().

+ 这是这个函数的调用关系图:

◆ GetLinearColor()

void FIniFile::GetLinearColor ( const TCHAR * Section,
const TCHAR * Key,
FLinearColor & Target ) const
inline

在文件 IniFile.h173 行定义.

◆ GetString()

void FIniFile::GetString ( const TCHAR * Section,
const TCHAR * Key,
FString & Target ) const
inline

在文件 IniFile.h132 行定义.

被这些函数引用 LoadSettingsFromConfig().

+ 这是这个函数的调用关系图:

◆ HasSection()

bool FIniFile::HasSection ( const FString & Section) const
inline

在文件 IniFile.h78 行定义.

◆ ProcessInputFileContents()

void FIniFile::ProcessInputFileContents ( const FString & INIFileContents)
inline

在文件 IniFile.h70 行定义.

被这些函数引用 UCarlaSettings::LoadSettingsFromString().

+ 这是这个函数的调用关系图:

◆ SafeCastTo()

template<typename TARGET , typename SOURCE >
static void FIniFile::SafeCastTo ( SOURCE source,
TARGET & target )
inlinestaticprivate

在文件 IniFile.h25 行定义.

引用了 UE_LOG().

+ 函数调用图:

◆ SetBool()

void FIniFile::SetBool ( const TCHAR * Section,
const TCHAR * Key,
const bool Value )
inline

在文件 IniFile.h221 行定义.

◆ SetFloat()

void FIniFile::SetFloat ( const TCHAR * Section,
const TCHAR * Key,
const float Value )
inline

在文件 IniFile.h230 行定义.

◆ SetInt()

void FIniFile::SetInt ( const TCHAR * Section,
const TCHAR * Key,
const int64 Value )
inline

在文件 IniFile.h193 行定义.

◆ SetLinearColor()

void FIniFile::SetLinearColor ( const TCHAR * Section,
const TCHAR * Key,
const FLinearColor & Value )
inline

在文件 IniFile.h239 行定义.

◆ SetString() [1/2]

void FIniFile::SetString ( const TCHAR * Section,
const TCHAR * Key,
const FString & Value )
inline

在文件 IniFile.h212 行定义.

◆ SetString() [2/2]

void FIniFile::SetString ( const TCHAR * Section,
const TCHAR * Key,
const TCHAR * Value )
inline

在文件 IniFile.h202 行定义.

◆ Write()

bool FIniFile::Write ( const FString & Filename)
inline

在文件 IniFile.h95 行定义.

类成员变量说明

◆ ConfigFile

FConfigFile FIniFile::ConfigFile
private

在文件 IniFile.h248 行定义.


该类的文档由以下文件生成: