void DataFieldBoolean::SetAsInteger(int Value) { if (GetAsInteger() != Value) { SetAsBoolean(!(Value == 0)); } }
void DataFieldBoolean::SetAsFloat(fixed Value) { if (GetAsFixed() != Value) { SetAsBoolean(Value != fixed_zero); } }
void DataFieldBoolean::SetAsString(const TCHAR *Value) { const TCHAR *res = GetAsString(); if (_tcscmp(res, Value) != 0) { SetAsBoolean(_tcscmp(Value, mTextTrue) == 0); } }
void DataFieldBoolean::SetAsString(const TCHAR *Value) { const TCHAR *res = GetAsString(); if (_tcscmp(res, Value) != 0) { SetAsBoolean(true_text.equals(Value)); } }
void DataFieldBoolean::Dec() { SetAsBoolean(false); }
void DataFieldBoolean::Inc() { SetAsBoolean(true); }
void DataFieldBoolean::SetAsString(const TCHAR *Value) { SetAsBoolean(ParseString(Value)); }
void DataFieldBoolean::Dec(void) { SetAsBoolean(!GetAsBoolean()); }