iLand
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
ABE::AgentUpdate Class Reference

#include <agenttype.h>

Public Types

enum  UpdateType { UpdateInvalid , UpdateThinning , UpdateU , UpdateSpecies }
 

Public Member Functions

 AgentUpdate ()
 
bool isValid () const
 
void setCounter (int n)
 
void decrease ()
 
QString dump ()
 
UpdateType type () const
 
const QString & value () const
 
const QString & afterActivity () const
 
int age () const
 
void setType (UpdateType type)
 
void setValue (QString new_value)
 
void setTimeAge (int age)
 
void setTimeYear (int year)
 
void setTimeActivity (QString act)
 

Static Public Member Functions

static UpdateType label (const QString &name)
 

Friends

class AgentType
 

Member Enumeration Documentation

◆ UpdateType

Enumerator
UpdateInvalid 
UpdateThinning 
UpdateU 
UpdateSpecies 

Constructor & Destructor Documentation

◆ AgentUpdate()

ABE::AgentUpdate::AgentUpdate ( )
inline

Member Function Documentation

◆ afterActivity()

const QString & ABE::AgentUpdate::afterActivity ( ) const
inline

◆ age()

int ABE::AgentUpdate::age ( ) const
inline

◆ decrease()

void ABE::AgentUpdate::decrease ( )
inline

◆ dump()

QString ABE::AgentUpdate::dump ( )

◆ isValid()

bool ABE::AgentUpdate::isValid ( ) const
inline

◆ label()

AgentUpdate::UpdateType ABE::AgentUpdate::label ( const QString &  name)
static

◆ setCounter()

void ABE::AgentUpdate::setCounter ( int  n)
inline

◆ setTimeActivity()

void ABE::AgentUpdate::setTimeActivity ( QString  act)
inline

◆ setTimeAge()

void ABE::AgentUpdate::setTimeAge ( int  age)
inline

◆ setTimeYear()

void ABE::AgentUpdate::setTimeYear ( int  year)
inline

◆ setType()

void ABE::AgentUpdate::setType ( UpdateType  type)
inline

◆ setValue()

void ABE::AgentUpdate::setValue ( QString  new_value)
inline

◆ type()

UpdateType ABE::AgentUpdate::type ( ) const
inline

◆ value()

const QString & ABE::AgentUpdate::value ( ) const
inline

Friends And Related Function Documentation

◆ AgentType

friend class AgentType
friend

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