fce4895d18
- Add subfolder src/kits/debugger which contains the debugger's core functionality and lower layers. Correspondingly add headers/private/debugger for shared headers to be used by clients such as the Debugger application and eventual remote_debug_server. Adjust various files to account for differences as a result of the split and moves. - Add libdebugger.so to minimal Jamfile.
37 lines
761 B
C++
37 lines
761 B
C++
/*
|
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef INTEGER_VALUE_H
|
|
#define INTEGER_VALUE_H
|
|
|
|
|
|
#include "Value.h"
|
|
|
|
|
|
class IntegerValue : public Value {
|
|
public:
|
|
IntegerValue(const BVariant& value);
|
|
virtual ~IntegerValue();
|
|
|
|
bool IsSigned() const;
|
|
|
|
int64 ToInt64() const
|
|
{ return fValue.ToInt64(); }
|
|
uint64 ToUInt64() const
|
|
{ return fValue.ToUInt64(); }
|
|
const BVariant& GetValue() const
|
|
{ return fValue; }
|
|
|
|
virtual bool ToString(BString& _string) const;
|
|
virtual bool ToVariant(BVariant& _value) const;
|
|
|
|
virtual bool operator==(const Value& other) const;
|
|
|
|
protected:
|
|
BVariant fValue;
|
|
};
|
|
|
|
|
|
#endif // INTEGER_VALUE_H
|