2 * Copyright 2015, Rene Gollent, rene@gollent.com.
3 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
4 * Distributed under the terms of the MIT License.
6 #include "BoolValueFormatter.h"
11 BoolValueFormatter::BoolValueFormatter()
18 BoolValueFormatter::~BoolValueFormatter()
24 BoolValueFormatter::FormatValue(Value
* _value
, BString
& _output
)
26 BoolValue
* value
= dynamic_cast<BoolValue
*>(_value
);
30 _output
.SetTo(value
->GetValue() ? "true" : "false");