2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef INTEGER_VALUE_H
6 #define INTEGER_VALUE_H
12 class IntegerValue
: public Value
{
14 IntegerValue(const BVariant
& value
);
15 virtual ~IntegerValue();
17 bool IsSigned() const;
20 { return fValue
.ToInt64(); }
21 uint64
ToUInt64() const
22 { return fValue
.ToUInt64(); }
23 const BVariant
& GetValue() const
26 virtual bool ToString(BString
& _string
) const;
27 virtual bool ToVariant(BVariant
& _value
) const;
29 virtual bool operator==(const Value
& other
) const;
36 #endif // INTEGER_VALUE_H