![]() |
MineLink
|
A base class for object associated to a given block model. More...
#include <blockmodel.h>
Public Member Functions | |
BlockModelEntity (delphos::BlockModel &bm) | |
Creates a new block instance associated to a given block model. More... | |
delphos::BlockModel & | GetBlockModel () |
Retrieves the block model to which the entity is associated. More... | |
const delphos::BlockModel & | GetBlockModel () const |
Retrieves the block model to which the entity is associated. More... | |
A base class for object associated to a given block model.
This class is the base class that allows to construct objects associated to a given block model (like precedences, optimization problems, etc.)
delphos::BlockModelEntity::BlockModelEntity | ( | delphos::BlockModel & | bm | ) |
Creates a new block instance associated to a given block model.
bm | The block model to which the entity will be associated. |
BlockModel & delphos::BlockModelEntity::GetBlockModel | ( | ) |
Retrieves the block model to which the entity is associated.
const BlockModel & delphos::BlockModelEntity::GetBlockModel | ( | ) | const |
Retrieves the block model to which the entity is associated.