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.
43 lines
884 B
C++
43 lines
884 B
C++
/*
|
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef VARIABLE_H
|
|
#define VARIABLE_H
|
|
|
|
|
|
#include <String.h>
|
|
|
|
#include <Referenceable.h>
|
|
|
|
|
|
class CpuState;
|
|
class ObjectID;
|
|
class Type;
|
|
class ValueLocation;
|
|
|
|
|
|
class Variable : public BReferenceable {
|
|
public:
|
|
Variable(ObjectID* id, const BString& name,
|
|
Type* type, ValueLocation* location,
|
|
CpuState* state = NULL);
|
|
~Variable();
|
|
|
|
ObjectID* ID() const { return fID; }
|
|
const BString& Name() const { return fName; }
|
|
Type* GetType() const { return fType; }
|
|
ValueLocation* Location() const { return fLocation; }
|
|
CpuState* GetCpuState() const { return fCpuState; }
|
|
|
|
private:
|
|
ObjectID* fID;
|
|
BString fName;
|
|
Type* fType;
|
|
ValueLocation* fLocation;
|
|
CpuState* fCpuState;
|
|
};
|
|
|
|
|
|
#endif // VARIABLE_H
|