AppleSAWS/src/memory/memrole.h

23 lines
332 B
C++

#ifndef MEMROLE_H
#define MEMROLE_H
class MemoryCell;
class MemRole
{
public:
MemRole();
virtual ~MemRole();
virtual int id() const = 0;
void setParent(MemoryCell *parent);
MemoryCell *parent( ) const { return m_parent; }
protected:
MemoryCell *m_parent;
};
#endif // MEMROLE_H