45 QString getName()
const;
46 QString getFileName()
const;
58 void setName(
const QString &
name);
59 void setFileName(
const QString &name);
61 void addVariable(
const Variable &variable);
QString fileName
The name of the source file where the entity is defined.
Definition: entity.h:69
Definition: variableset.h:4
Entity * parent
The parent of this entity.
Definition: entity.h:73
Entity(Entity *parent=nullptr)
Construct an empty entity with an optional parent.
Base class for entities.
Definition: entity.h:32
VariableSet getVariables() const
Return the variables defined for this entity.
QString name
The name of the entity.
Definition: entity.h:67
VariableSet variables
The variables associated with this entity.
Definition: entity.h:71
virtual ~Entity()=default
Default destructor that makes this class virtual.
A model representation of a variable.
Definition: variable.h:24