vfs: check userland buffers before reading them.
[haiku.git] / headers / private / debugger / value / values / FloatValue.h
blob5f72f8ba466deccf6c13409f678cc523a874f53f
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef FLOAT_VALUE_H
6 #define FLOAT_VALUE_H
9 #include "Value.h"
12 class FloatValue : public Value {
13 public:
14 FloatValue(const BVariant& value);
15 virtual ~FloatValue();
17 BVariant GetValue() const
18 { return fValue; }
20 virtual bool ToString(BString& _string) const;
21 virtual bool ToVariant(BVariant& _value) const;
23 virtual bool operator==(const Value& other) const;
25 private:
26 BVariant fValue;
30 #endif // FLOAT_VALUE_H