Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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 bangin(), t_broke::comment(), and t_ionbal::comment().

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 caunin(), and t_ionbal::comment().

const char* t_warnings::chName ( ) const
inlinevirtual

Implements module.

void t_warnings::comment ( t_warnings )
inlinevirtual

Implements module.

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(), and notein().

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

rgcin enter comment about the geometry after model stops

Parameters
*chLinecomment to be printed

References chRgcln.

Referenced by rgcin().

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(), and warnin().

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.

Referenced by cloudy().

Member Data Documentation

vector<string> t_warnings::chBangln

Referenced by bangin(), cdNwcns(), cdSurprises(), and zero().

vector<string> t_warnings::chCaunln

Referenced by caunin(), cdCautions(), cdNwcns(), ShowMe(), and zero().

vector<string> t_warnings::chNoteln

Referenced by cdNotes(), cdNwcns(), notein(), and zero().

vector<string> t_warnings::chRgcln

a comment about the geometry after model stops

Referenced by cdReasonGeo(), rgcin(), and zero().

vector<string> t_warnings::chWarnln

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

Referenced by cdNwcns(), cdWarnings(), ShowMe(), warnin(), and zero().

bool t_warnings::lgCautns

Referenced by caunin(), PrtFinal(), and zero().

bool t_warnings::lgWarngs

flags set if warnings or cautions present

Referenced by cloudy(), PrtFinal(), SaveGrid(), warnin(), and zero().


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