safe.impact_reports.report_mixin_base module

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

Contact : ole.moller.nielsen@gmail.com

Note

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.

action_checklist()[source]

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

Returns:The action checklist.
Return type:safe.messaging.Message
generate_report()[source]

Defining the interface.

Returns:An itemized breakdown of the report.
Return type:safe.messaging.Message
html_report()[source]

Generate an HTML report.

Returns:The report in html format.
Return type:basestring
impact_summary()[source]

The impact summary.

Returns:The action checklist.
Return type:safe.messaging.Message
notes()[source]

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.