Ejemplo n.º 1
0
bool DataProperty::getValue(DataObject* obj, DataValue& outValue) const
{
	if (_getter && _getter(obj, const_cast<DataProperty*>(this), outValue))
	{
		outValue.convertTo(_type);
		return true;
	}

	return false;
}
Ejemplo n.º 2
0
bool CProperty::Get(string &value) const {
    return _getter(value);
}
Ejemplo n.º 3
0
int MaxLogSizeKB::get() {
    return (_getter == nullptr) ? 10 : _getter();
}