PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
pism::TerminationReason Class Referenceabstract

#include <TerminationReason.hh>

+ Inheritance diagram for pism::TerminationReason:

Public Member Functions

 TerminationReason ()
 
 TerminationReason (int code)
 
virtual ~TerminationReason ()
 
virtual int reason ()
 
virtual std::string description ()
 
virtual void get_description (std::ostream &desc, int indent_level=0)=0
 
virtual std::string nested_description (int indent_level=0)
 
virtual void get_nested_description (std::ostream &desc, int indent_level=0)
 
virtual bool has_root_cause ()
 
std::shared_ptr< TerminationReasonroot_cause ()
 
void set_root_cause (std::shared_ptr< TerminationReason > cause)
 
bool succeeded ()
 
bool failed ()
 
bool done ()
 

Protected Attributes

int m_reason
 
std::shared_ptr< TerminationReasonm_root_cause
 

Static Protected Attributes

static const char * sm_indent = " "
 

Private Member Functions

 TerminationReason (TerminationReason const &reason)
 
TerminationReasonoperator= (TerminationReason const &reason)
 

Detailed Description

Definition at line 31 of file TerminationReason.hh.


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