FRED
AV_Health Class Reference

List of all members.

Public Member Functions

 AV_Health ()
 AV_Health (int _av_day, Antiviral *_AV, Health *_health)
virtual int get_av_start_day () const
virtual int get_av_end_day () const
virtual Healthget_health () const
virtual int get_disease () const
virtual Antiviralget_antiviral () const
virtual bool is_on_av (int day) const
virtual bool is_effective () const
virtual void update (int day)
virtual void print () const
virtual void printTrace () const

Constructor & Destructor Documentation

AV_Health::AV_Health ( )

Default constructor

AV_Health::AV_Health ( int  _av_day,
Antiviral _AV,
Health _health 
)

Constructor that sets the AV start day, the Antiviral, and the Health of this AV_Health object

Parameters:
_av_daythe av start day
_AVa pointer to the Antiviral object
_healtha pointer to the Health object

Member Function Documentation

virtual Antiviral* AV_Health::get_antiviral ( ) const [inline, virtual]
Returns:
a pointer to the AV
virtual int AV_Health::get_av_end_day ( ) const [inline, virtual]
Returns:
the AV end day
virtual int AV_Health::get_av_start_day ( ) const [inline, virtual]
Returns:
the AV start day
virtual int AV_Health::get_disease ( ) const [inline, virtual]
Returns:
the disease
virtual Health* AV_Health::get_health ( ) const [inline, virtual]
Returns:
a pointer to the Health object
virtual bool AV_Health::is_effective ( ) const [inline, virtual]
Returns:
true if av_end_day is not -1, false otherwise
virtual bool AV_Health::is_on_av ( int  day) const [inline, virtual]
Parameters:
daythe simulation day to check for
Returns:
true if day is between the start and end days, false otherwise
void AV_Health::print ( ) const [virtual]

Print out information about this object

void AV_Health::printTrace ( ) const [virtual]

Print out information about this object to the trace file

void AV_Health::update ( int  day) [virtual]

Perform the daily update for this object

Parameters:
daythe simulation day

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