Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_GlobalData Class Reference

#include <cfx_globaldata.h>

+ Collaboration diagram for CFX_GlobalData:

Classes

class  Delegate
 
class  Element
 

Public Member Functions

bool Release ()
 
void SetGlobalVariableNumber (ByteString propname, double dData)
 
void SetGlobalVariableBoolean (ByteString propname, bool bData)
 
void SetGlobalVariableString (ByteString propname, const ByteString &sData)
 
void SetGlobalVariableObject (ByteString propname, std::vector< std::unique_ptr< CFX_KeyValue > > array)
 
void SetGlobalVariableNull (ByteString propname)
 
bool SetGlobalVariablePersistent (ByteString propname, bool bPersistent)
 
bool DeleteGlobalVariable (ByteString propname)
 
int32_t GetSize () const
 
ElementGetAt (int index)
 
ElementGetGlobalVariable (const ByteString &sPropname)
 

Static Public Member Functions

static CFX_GlobalDataGetRetainedInstance (Delegate *pDelegate)
 

Detailed Description

Definition at line 19 of file cfx_globaldata.h.

Member Function Documentation

◆ DeleteGlobalVariable()

bool CFX_GlobalData::DeleteGlobalVariable ( ByteString propname)

Definition at line 228 of file cfx_globaldata.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ GetAt()

CFX_GlobalData::Element * CFX_GlobalData::GetAt ( int index)

Definition at line 244 of file cfx_globaldata.cpp.

References GetSize().

Referenced by TEST(), TEST(), and TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGlobalVariable()

CFX_GlobalData::Element * CFX_GlobalData::GetGlobalVariable ( const ByteString & sPropname)

Definition at line 121 of file cfx_globaldata.cpp.

Referenced by SetGlobalVariableBoolean(), SetGlobalVariableNull(), SetGlobalVariableNumber(), SetGlobalVariableObject(), SetGlobalVariablePersistent(), SetGlobalVariableString(), and TEST().

+ Here is the caller graph for this function:

◆ GetRetainedInstance()

CFX_GlobalData * CFX_GlobalData::GetRetainedInstance ( Delegate * pDelegate)
static

Definition at line 86 of file cfx_globaldata.cpp.

Referenced by TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ GetSize()

int32_t CFX_GlobalData::GetSize ( ) const

Definition at line 240 of file cfx_globaldata.cpp.

Referenced by GetAt(), and TEST().

+ Here is the caller graph for this function:

◆ Release()

bool CFX_GlobalData::Release ( )

Definition at line 94 of file cfx_globaldata.cpp.

Referenced by TEST(), TEST(), TEST(), and TEST().

+ Here is the caller graph for this function:

◆ SetGlobalVariableBoolean()

void CFX_GlobalData::SetGlobalVariableBoolean ( ByteString propname,
bool bData )

Definition at line 145 of file cfx_globaldata.cpp.

References GetGlobalVariable(), and CFX_Value::kBoolean.

Referenced by TEST(), TEST(), and TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGlobalVariableNull()

void CFX_GlobalData::SetGlobalVariableNull ( ByteString propname)

Definition at line 200 of file cfx_globaldata.cpp.

References GetGlobalVariable(), and CFX_Value::kNull.

Referenced by TEST(), TEST(), and TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGlobalVariableNumber()

void CFX_GlobalData::SetGlobalVariableNumber ( ByteString propname,
double dData )

Definition at line 127 of file cfx_globaldata.cpp.

References GetGlobalVariable(), and CFX_Value::kNumber.

Referenced by TEST(), TEST(), TEST(), and TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGlobalVariableObject()

void CFX_GlobalData::SetGlobalVariableObject ( ByteString propname,
std::vector< std::unique_ptr< CFX_KeyValue > > array )

Definition at line 181 of file cfx_globaldata.cpp.

References GetGlobalVariable(), and CFX_Value::kObject.

+ Here is the call graph for this function:

◆ SetGlobalVariablePersistent()

bool CFX_GlobalData::SetGlobalVariablePersistent ( ByteString propname,
bool bPersistent )

Definition at line 215 of file cfx_globaldata.cpp.

References CFX_GlobalData::Element::bPersistent, and GetGlobalVariable().

Referenced by TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGlobalVariableString()

void CFX_GlobalData::SetGlobalVariableString ( ByteString propname,
const ByteString & sData )

Definition at line 163 of file cfx_globaldata.cpp.

References GetGlobalVariable(), and CFX_Value::kString.

Referenced by TEST(), TEST(), TEST(), and TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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