Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
t_warnings Class Reference

#include <warnings.h>

Inheritance diagram for t_warnings:
Collaboration diagram for t_warnings:

Public Member Functions

const char * chName () const
 
void zero (void)
 
void comment (t_warnings &)
 
void rgcin (const string &chLine)
 
void warnin (const string &chLine)
 
void caunin (const string &chLine)
 
void bangin (const string &chLine)
 
void notein (const string &chLine)
 
- Public Member Functions inherited from module
 module ()
 
virtual ~module ()
 

Public Attributes

vector< string > chRgcln
 
vector< string > chWarnln
 
vector< string > chCaunln
 
vector< string > chBangln
 
vector< string > chNoteln
 
bool lgWarngs
 
bool lgCautns
 

Member Function Documentation

◆ bangin()

void t_warnings::bangin ( const string & chLine)
inline

bangin called by routine comment to enter surprise into comment stack

Parameters
*chLinesurprise to be printed

References chBangln.

Referenced by t_broke::comment(), and t_ionbal::comment().

◆ caunin()

void t_warnings::caunin ( const string & chLine)
inline

caunin called by comment to enter caution into comment stack

Parameters
*chLinecaution to be printed

References chCaunln, and lgCautns.

Referenced by t_ionbal::comment().

◆ chName()

const char * t_warnings::chName ( ) const
inlinevirtual

Implements module.

◆ comment()

void t_warnings::comment ( t_warnings & )
inlinevirtual

Implements module.

◆ notein()

void t_warnings::notein ( const string & chLine)
inline

notein enter a note about calculation into comment array

Parameters
*chLinenote to be printed

References chNoteln.

Referenced by t_ionbal::comment().

◆ rgcin()

void t_warnings::rgcin ( const string & chLine)
inline

rgcin enter comment about the geometry after model stops

Parameters
*chLinecomment to be printed

References chRgcln.

◆ warnin()

void t_warnings::warnin ( const string & chLine)
inline

warnin enter warnings at the end of the calculations into large stack

Parameters
*chLinewarning to be printed

References chWarnln, and lgWarngs.

Referenced by t_broke::comment().

◆ zero()

void t_warnings::zero ( void )
virtual

wcnint initialize stack or warnings, cautions, notes

Implements module.

References chBangln, chCaunln, chNoteln, chRgcln, chWarnln, DEBUG_ENTRY, lgCautns, and lgWarngs.

Member Data Documentation

◆ chBangln

vector<string> t_warnings::chBangln

Referenced by bangin(), and zero().

◆ chCaunln

vector<string> t_warnings::chCaunln

Referenced by caunin(), and zero().

◆ chNoteln

vector<string> t_warnings::chNoteln

Referenced by notein(), and zero().

◆ chRgcln

vector<string> t_warnings::chRgcln

a comment about the geometry after model stops

Referenced by rgcin(), and zero().

◆ chWarnln

vector<string> t_warnings::chWarnln

these are the strings that contain the warnings, cautions, and notes about the calculation

Referenced by warnin(), and zero().

◆ lgCautns

bool t_warnings::lgCautns

Referenced by caunin(), and zero().

◆ lgWarngs

bool t_warnings::lgWarngs

flags set if warnings or cautions present

Referenced by warnin(), and zero().


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