MineLink
 All Data Structures Functions Variables Pages
delphos::BlockModelEntity Class Reference

A base class for object associated to a given block model. More...

#include <blockmodel.h>

Inheritance diagram for delphos::BlockModelEntity:
Inheritance graph
Collaboration diagram for delphos::BlockModelEntity:
Collaboration graph

Public Member Functions

 BlockModelEntity (delphos::BlockModel &bm)
 Creates a new block instance associated to a given block model. More...
 
delphos::BlockModelGetBlockModel ()
 Retrieves the block model to which the entity is associated. More...
 
const delphos::BlockModelGetBlockModel () const
 Retrieves the block model to which the entity is associated. More...
 

Detailed Description

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.)

Constructor & Destructor Documentation

delphos::BlockModelEntity::BlockModelEntity ( delphos::BlockModel bm)

Creates a new block instance associated to a given block model.

Parameters
bmThe block model to which the entity will be associated.

Member Function Documentation

BlockModel & delphos::BlockModelEntity::GetBlockModel ( )

Retrieves the block model to which the entity is associated.

Returns
A reference to the associated BlockModel instance.
const BlockModel & delphos::BlockModelEntity::GetBlockModel ( ) const

Retrieves the block model to which the entity is associated.

Returns
A const reference to the associated BlockModel instance.

The documentation for this class was generated from the following files: