xref: /haiku/src/kits/debugger/value/ValueFormatter.cpp (revision fce4895d1884da5ae6fb299d23c735c598e690b1)
1*fce4895dSRene Gollent /*
2*fce4895dSRene Gollent  * Copyright 2015, Rene Gollent, rene@gollent.com.
3*fce4895dSRene Gollent  * Distributed under the terms of the MIT License.
4*fce4895dSRene Gollent  */
5*fce4895dSRene Gollent 
6*fce4895dSRene Gollent 
7*fce4895dSRene Gollent #include "ValueFormatter.h"
8*fce4895dSRene Gollent 
9*fce4895dSRene Gollent 
~ValueFormatter()10*fce4895dSRene Gollent ValueFormatter::~ValueFormatter()
11*fce4895dSRene Gollent {
12*fce4895dSRene Gollent }
13*fce4895dSRene Gollent 
14*fce4895dSRene Gollent 
15*fce4895dSRene Gollent bool
SupportsValidation() const16*fce4895dSRene Gollent ValueFormatter::SupportsValidation() const
17*fce4895dSRene Gollent {
18*fce4895dSRene Gollent 	return false;
19*fce4895dSRene Gollent }
20*fce4895dSRene Gollent 
21*fce4895dSRene Gollent 
22*fce4895dSRene Gollent bool
ValidateFormattedValue(const BString & input,type_code type) const23*fce4895dSRene Gollent ValueFormatter::ValidateFormattedValue(const BString& input, type_code type)
24*fce4895dSRene Gollent 	const
25*fce4895dSRene Gollent {
26*fce4895dSRene Gollent 	return false;
27*fce4895dSRene Gollent }
28*fce4895dSRene Gollent 
29*fce4895dSRene Gollent 
30*fce4895dSRene Gollent status_t
GetValueFromFormattedInput(const BString & input,type_code type,Value * & _output) const31*fce4895dSRene Gollent ValueFormatter::GetValueFromFormattedInput(const BString& input,
32*fce4895dSRene Gollent 	type_code type, Value*& _output) const
33*fce4895dSRene Gollent {
34*fce4895dSRene Gollent 	return B_NOT_SUPPORTED;
35*fce4895dSRene Gollent }
36