DayZ 1.24
Loading...
Searching...
No Matches
CfgParamType Class Reference
Collaboration diagram for CfgParamType:
[legend]

Private Member Functions

void CfgParamBool (string param_name)
 
void SetValue (bool value)
 
bool GetValue ()
 
override int GetType ()
 
void CfgParamFloat (string param_name)
 
void SetValue (float value)
 
float GetValue ()
 
override int GetType ()
 
void CfgParamInt (string param_name)
 
void SetValue (int value)
 
int GetValue ()
 
override int GetType ()
 
void CfgParamString (string param_name)
 
void SetValue (string value)
 
string GetValue ()
 
override int GetType ()
 

Private Attributes

bool m_Value
 
float m_Value
 
int m_Value
 
string m_Value
 

Detailed Description

Definition at line 1 of file CfgParamBool.c.

Member Function Documentation

◆ CfgParamBool()

void CfgParamType::CfgParamBool ( string param_name)
inlineprivate

Definition at line 5 of file CfgParamBool.c.

6 {
7 m_Value = false;
8 }

References m_Value.

◆ CfgParamFloat()

void CfgParamType::CfgParamFloat ( string param_name)
inlineprivate

Definition at line 5 of file CfgParamFloat.c.

6 {
7 m_Value = 0;
8 }

References m_Value.

◆ CfgParamInt()

void CfgParamType::CfgParamInt ( string param_name)
inlineprivate

Definition at line 5 of file CfgParamInt.c.

6 {
7 m_Value = 0;
8 }

References m_Value.

◆ CfgParamString()

void CfgParamType::CfgParamString ( string param_name)
inlineprivate

Definition at line 5 of file CfgParamString.c.

6 {
8 }
const string STRING_EMPTY
Definition constants.c:54

References m_Value, and STRING_EMPTY.

◆ GetType() [1/4]

override int CfgParamType::GetType ( )
inlineprivate

Definition at line 20 of file CfgParamBool.c.

21 {
22 return CFG_TYPE_BOOL;
23 }
const int CFG_TYPE_BOOL
Definition CfgParam.c:4

References CFG_TYPE_BOOL.

◆ GetType() [2/4]

override int CfgParamType::GetType ( )
inlineprivate

Definition at line 20 of file CfgParamFloat.c.

21 {
22 return CFG_TYPE_FLOAT;
23 }
const int CFG_TYPE_FLOAT
Definition CfgParam.c:3

References CFG_TYPE_FLOAT.

◆ GetType() [3/4]

override int CfgParamType::GetType ( )
inlineprivate

Definition at line 20 of file CfgParamInt.c.

21 {
22 return CFG_TYPE_INT;
23 }
const int CFG_TYPE_INT
Definition CfgParam.c:2

References CFG_TYPE_INT.

◆ GetType() [4/4]

override int CfgParamType::GetType ( )
inlineprivate

Definition at line 20 of file CfgParamString.c.

21 {
22 return CFG_TYPE_STRING;
23 }
const int CFG_TYPE_STRING
Definition CfgParam.c:1

References CFG_TYPE_STRING.

◆ GetValue() [1/4]

bool CfgParamType::GetValue ( )
inlineprivate

Definition at line 15 of file CfgParamBool.c.

16 {
17 return m_Value;
18 }

References m_Value.

◆ GetValue() [2/4]

float CfgParamType::GetValue ( )
inlineprivate

Definition at line 15 of file CfgParamFloat.c.

16 {
17 return m_Value;
18 }

References m_Value.

◆ GetValue() [3/4]

int CfgParamType::GetValue ( )
inlineprivate

Definition at line 15 of file CfgParamInt.c.

16 {
17 return m_Value;
18 }

References m_Value.

◆ GetValue() [4/4]

string CfgParamType::GetValue ( )
inlineprivate

Definition at line 15 of file CfgParamString.c.

16 {
17 return m_Value;
18 }

References m_Value.

◆ SetValue() [1/4]

void CfgParamType::SetValue ( bool value)
inlineprivate

Definition at line 10 of file CfgParamBool.c.

11 {
12 m_Value = value;
13 }

References m_Value.

◆ SetValue() [2/4]

void CfgParamType::SetValue ( float value)
inlineprivate

Definition at line 10 of file CfgParamFloat.c.

11 {
12 m_Value = value;
13 }

References m_Value.

◆ SetValue() [3/4]

void CfgParamType::SetValue ( int value)
inlineprivate

Definition at line 10 of file CfgParamInt.c.

11 {
12 m_Value = value;
13 }

References m_Value.

◆ SetValue() [4/4]

void CfgParamType::SetValue ( string value)
inlineprivate

Definition at line 10 of file CfgParamString.c.

11 {
12 m_Value = value;
13 }

References m_Value.

Member Data Documentation

◆ m_Value [1/4]

bool CfgParamType::m_Value
private

Definition at line 3 of file CfgParamBool.c.

Referenced by GetValue().

◆ m_Value [2/4]

float CfgParamType::m_Value
private

Definition at line 3 of file CfgParamFloat.c.

◆ m_Value [3/4]

int CfgParamType::m_Value
private

Definition at line 3 of file CfgParamInt.c.

◆ m_Value [4/4]

string CfgParamType::m_Value
private

Definition at line 3 of file CfgParamString.c.


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