///////////////////////////////////////////////////////////////////////////
| 2077 | |
| 2078 | //////////////////////////////////////////////////////////////////////////////// |
| 2079 | bool Variant::trivial() const { |
| 2080 | return (_type == type_integer && _integer == 0) || (_type == type_real && _real == 0.0) || |
| 2081 | (_type == type_string && _string == "") || (_type == type_date && _date == 0) || |
| 2082 | (_type == type_duration && _duration == 0); |
| 2083 | } |
| 2084 | |
| 2085 | //////////////////////////////////////////////////////////////////////////////// |
| 2086 | bool Variant::get_bool() const { return _bool; } |
no outgoing calls
no test coverage detected