Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfx_globaldata.h>
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 |
Element * | GetAt (int index) |
Element * | GetGlobalVariable (const ByteString &sPropname) |
Static Public Member Functions | |
static CFX_GlobalData * | GetRetainedInstance (Delegate *pDelegate) |
Definition at line 19 of file cfx_globaldata.h.
bool CFX_GlobalData::DeleteGlobalVariable | ( | ByteString | propname | ) |
Definition at line 228 of file cfx_globaldata.cpp.
Referenced by TEST().
CFX_GlobalData::Element * CFX_GlobalData::GetAt | ( | int | index | ) |
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().
|
static |
int32_t CFX_GlobalData::GetSize | ( | ) | const |
Definition at line 240 of file cfx_globaldata.cpp.
Referenced by GetAt(), and TEST().
bool CFX_GlobalData::Release | ( | ) |
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().
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().
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().
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.
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().
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().