![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cStructElem.h>
Public Member Functions | |
| operator const ATOMCHAR_t * () const noexcept | |
| const ATOMCHAR_t * | get_Name () const noexcept |
| void * | GetValPtr (const void *pBaseInst) const |
| bool | GetValVar (const void *pBaseInst, cVariant &vVal) const |
| bool | SetValVar (void *pBaseInst, const cVariant &vVal) const |
| HRESULT | SetValCheck (void *pBaseInst, const cVariant &vVal) const |
| HRESULT | Serialize (cStream &file, bool bModeWrite, void *pBaseInst) |
| COMPARE_t | Compare (const void *pBase1, const void *pBase2) const |
| HRESULT | ScriptWrite (IScriptableSetter *pScript, const void *pBaseInst) const |
| HRESULT | ScriptRead (IScriptableGetter *pScript, void *pBaseInst) const |
| const cStructNamedElem * | FindArrayKey (const ATOMCHAR_t *pszKey, size_t iSizeElem) const |
| void | ScriptWriteArray (IScriptableSetter *pScript, const void *pBaseInst) const |
| void | ScriptReadArray (IScriptableGetter *pScript, void *pBaseInst) const |
| COMPARE_t | CompareArray (const void *pBase1, const void *pBase2, size_t iSizeElem) const |
Public Attributes | |
| const ATOMCHAR_t * | m_pszKey |
| the key identifier for the data field. nullptr=last, May be cAtomRef? More... | |
| cStructElem | m_elem |
| (type,offset,extra) More... | |
Map elements/fields of a structure with a name to registry entries or possibly database fields. LAST = { nullptr, 0, VARTYPE_NoType } base for cScriptableProp ?
|
inline |
| COMPARE_t GrayLib::cStructNamedElem::CompareArray | ( | const void * | pBase1, |
| const void * | pBase2, | ||
| size_t | iSizeElem | ||
| ) | const |
| const cStructNamedElem * GrayLib::cStructNamedElem::FindArrayKey | ( | const ATOMCHAR_t * | pszKey, |
| size_t | iSizeElem | ||
| ) | const |
find element in the cStructNamedElem array by the key name.
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
read in the single element.
| void GrayLib::cStructNamedElem::ScriptReadArray | ( | IScriptableGetter * | pScript, |
| void * | pBaseInst | ||
| ) | const |
Try to read all the keys in an array of cStructNamedElem
|
inline |
write out the single element.
| void GrayLib::cStructNamedElem::ScriptWriteArray | ( | IScriptableSetter * | pScript, |
| const void * | pBaseInst | ||
| ) | const |
Write all the keys in an array of cStructNamedElem
|
inline |
|
inline |
check for value not changing.
|
inline |
| cStructElem GrayLib::cStructNamedElem::m_elem |
(type,offset,extra)
| const ATOMCHAR_t* GrayLib::cStructNamedElem::m_pszKey |
the key identifier for the data field. nullptr=last, May be cAtomRef?