DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
objecttree::PopulationEntity Class Reference

#include <populationentity.h>

Inheritance diagram for objecttree::PopulationEntity:
objecttree::ObjectTreeEntity

Public Member Functions

 PopulationEntity (ObjectTreeModel *_model, int idx=-1)
 
virtual ~PopulationEntity ()
 
virtual ObjectTreeModel::Category getCategory () const
 
virtual QModelIndex parent (const QModelIndex &parent) const
 
virtual QModelIndex index (int row, int column, const QModelIndex &parent) const
 
virtual int rowCount () const
 
virtual int columnCount () const
 
virtual QVariant data (const QModelIndex &index, int role) const
 
virtual Qt::ItemFlags flags (Qt::ItemFlags defflags, const QModelIndex &index) const
 
virtual bool setData (const QModelIndex &index, const QVariant &value, int role)
 
QModelIndex makeIndex ()
 
- Public Member Functions inherited from objecttree::ObjectTreeEntity
 ObjectTreeEntity (ObjectTreeModel *_model)
 
virtual ~ObjectTreeEntity ()
 
virtual QMenu * contextMenu () const
 
virtual void modelChanged (int)
 

Additional Inherited Members

- Protected Attributes inherited from objecttree::ObjectTreeEntity
ObjectTreeModelmodel
 

Constructor & Destructor Documentation

◆ PopulationEntity()

objecttree::PopulationEntity::PopulationEntity ( ObjectTreeModel _model,
int  idx = -1 
)

◆ ~PopulationEntity()

objecttree::PopulationEntity::~PopulationEntity ( )
virtual

Member Function Documentation

◆ columnCount()

int objecttree::PopulationEntity::columnCount ( ) const
virtual

◆ data()

QVariant objecttree::PopulationEntity::data ( const QModelIndex &  index,
int  role 
) const
virtual

◆ flags()

Qt::ItemFlags objecttree::PopulationEntity::flags ( Qt::ItemFlags  defflags,
const QModelIndex &  index 
) const
virtual

Reimplemented from objecttree::ObjectTreeEntity.

◆ getCategory()

virtual ObjectTreeModel::Category objecttree::PopulationEntity::getCategory ( ) const
inlinevirtual

◆ index()

QModelIndex objecttree::PopulationEntity::index ( int  row,
int  column,
const QModelIndex &  parent 
) const
virtual

◆ makeIndex()

QModelIndex objecttree::PopulationEntity::makeIndex ( )

◆ parent()

QModelIndex objecttree::PopulationEntity::parent ( const QModelIndex &  parent) const
virtual

◆ rowCount()

int objecttree::PopulationEntity::rowCount ( ) const
virtual

◆ setData()

bool objecttree::PopulationEntity::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
virtual

Reimplemented from objecttree::ObjectTreeEntity.


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