inline uint8_t Truncate_Float_To_Byte(float in) { Verify(in >= 0.0f && in < 256.0f); in -= 0.5f; in += 12582912.0f; return *Cast_Pointer(puint8_t, &in); }
inline uint16_t Truncate_Float_To_Word(float in) { Verify(in >= 0.0f && in < 65536.0f); in -= 0.5f; in += 12582912.0f; return *Cast_Pointer(puint16_t, &in); }
float GetAtof(void) const { // Check_Object(this); Check_Pointer(dataReference); return float(atof(Cast_Pointer(PCSTR, dataReference))); }
int32_t GetAtol(void) const { // Check_Object(this); Check_Pointer(dataReference); return atol(Cast_Pointer(PCSTR, dataReference)); }
PCSTR GetChar(void) const { // Check_Object(this); return Cast_Pointer(PCSTR, dataReference); }
PCSTR GetName(void) const { // Check_Object(this); return &(Cast_Pointer(PCSTR, this)[sizeof(ObjectNameList::Entry)]); }