COPASI API  4.40.278
copasi::autoexcept Class Reference

#include <COptionParser.h>

Inheritance diagram for copasi::autoexcept:
[legend]

Public Member Functions

 autoexcept (autothrow id, const std::string &message)
 
autothrow get_autothrow_id (void) const
 
- Public Member Functions inherited from copasi::option_error
const char * get_help_comment (void) const
 
 option_error (const std::string &what_arg)
 

Private Attributes

autothrow autothrow_
 

Detailed Description

if any option that is a autothrow option is present on the command line, this exception class will be thrown when that option is parsed.

Constructor & Destructor Documentation

◆ autoexcept()

copasi::autoexcept::autoexcept ( autothrow  id,
const std::string &  message 
)
inline

Member Function Documentation

◆ get_autothrow_id()

autothrow copasi::autoexcept::get_autothrow_id ( void  ) const
inline

get the autothrow enum member for the autothrow option that caused the exception.

References autothrow_.

Member Data Documentation

◆ autothrow_

autothrow copasi::autoexcept::autothrow_
private

Referenced by get_autothrow_id().


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