Geophysical Inversion and Modelling Library  v1.4.3
GIMLI::BaseEntity Class Reference

Base Entity. More...

+ Inheritance diagram for GIMLI::BaseEntity:

Public Member Functions

 BaseEntity (const BaseEntity &ent)
BaseEntityoperator= (const BaseEntity &ent)
virtual uint rtti () const
virtual bool valid () const
virtual void setValid (bool valid)
int id () const
void setId (int id)
void setMarker (int marker)
int marker () const
void setTagged (bool tagged)
void untag ()
void tag ()
bool tagged () const

Protected Attributes

int id_
bool valid_
int marker_
bool tagged_

Detailed Description

Base Entity.

The is a base entity which holds some basic informations. An identification number for the object, a validation status flag and a runtime type information (RTTI). This information will be inherited in many objects i.e. the mesh and data entitys.

Member Function Documentation

◆ id()

◆ rtti()

◆ setId()

void GIMLI::BaseEntity::setId ( int  id)

Set the entity id.

◆ setTagged()

void GIMLI::BaseEntity::setTagged ( bool  tagged)

Userflag to mark the entity for something you want. This will be used internal while cell search so be carefully.

◆ setValid()

virtual void GIMLI::BaseEntity::setValid ( bool  valid)

Set entity valid status.

◆ tag()

void GIMLI::BaseEntity::tag ( )

Tag the cell

◆ tagged()

bool GIMLI::BaseEntity::tagged ( ) const

Return true if the cell is tagged

◆ untag()

void GIMLI::BaseEntity::untag ( )

Untag the cell

◆ valid()

virtual bool GIMLI::BaseEntity::valid ( ) const

Return entity valid status.