safe.impact_reports.report_mixin_base module

InaSAFE Disaster risk assessment tool developed by AusAid - Impact Function Report Mixin Base Class

Contact :


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.impact_reports.report_mixin_base.ReportMixin[source]

Bases: object

Report Mixin Interface.

New in version 3.1.


The actions to be taken in for the impact on this exposure type.

Returns:The action checklist.
Return type:safe.messaging.Message

Defining the interface.

Returns:An itemized breakdown of the report.
Return type:safe.messaging.Message

Generate an HTML report.

Returns:The report in html format.
Return type:basestring

The impact summary.

Returns:The action checklist.
Return type:safe.messaging.Message

Additional notes to be used.

Returns:The notes to be added to this report
Return type:safe.messaging.Message

..Notes: Notes are very much specific to IFs so it is expected that this method is overwritten in the IF if needed.