cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
t_warnings Class Reference

#include <warnings.h>

Inheritance diagram for t_warnings:
Inheritance graph
[legend]
Collaboration diagram for t_warnings:
Collaboration graph
[legend]

Public Member Functions

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

Data Fields

long int nwarn
 
long int ncaun
 
long int nnote
 
long int nbang
 
char chRgcln [2][INPUT_LINE_LENGTH]
 
char chWarnln [LIMWCN][INPUT_LINE_LENGTH]
 
char chCaunln [LIMWCN][INPUT_LINE_LENGTH]
 
char chNoteln [LIMWCN][INPUT_LINE_LENGTH]
 
char chBangln [LIMWCN][INPUT_LINE_LENGTH]
 
bool lgWarngs
 
bool lgCautns
 

Detailed Description

Definition at line 15 of file warnings.h.

Member Function Documentation

void t_warnings::bangin ( const char *  chLine)

bangin called by routine comment to enter surprise into comment stack

Parameters
*chLine

Definition at line 73 of file warnings.cpp.

References chBangln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and nbang.

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

Here is the call graph for this function:

void t_warnings::caunin ( const char *  chLine)

caunin called by comment to enter caution into comment stack

Parameters
*chLine

Definition at line 96 of file warnings.cpp.

References chCaunln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and ncaun.

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

Here is the call graph for this function:

const char* t_warnings::chName ( ) const
inlinevirtual

Implements module.

Definition at line 17 of file warnings.h.

void t_warnings::comment ( t_warnings )
inlinevirtual

Implements module.

Definition at line 24 of file warnings.h.

void t_warnings::notein ( const char *  chLine)

notein enter a note about calculation into comment array

Parameters
*chLine

Definition at line 50 of file warnings.cpp.

References chNoteln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and nnote.

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

Here is the call graph for this function:

void t_warnings::warnin ( const char *  chLine)

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

Parameters
*chLine

Definition at line 27 of file warnings.cpp.

References chWarnln, DEBUG_ENTRY, fprintf(), ioQQQ, LIMWCN, and nwarn.

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

Here is the call graph for this function:

void t_warnings::zero ( void  )
virtual

wcnint initialize stack or warnings, cautions, notes

Implements module.

Definition at line 13 of file warnings.cpp.

References DEBUG_ENTRY, nbang, ncaun, nnote, and nwarn.

Referenced by BadStart(), and PrtComment().

Field Documentation

char t_warnings::chBangln[LIMWCN][INPUT_LINE_LENGTH]

Definition at line 38 of file warnings.h.

Referenced by bangin(), and cdSurprises().

char t_warnings::chCaunln[LIMWCN][INPUT_LINE_LENGTH]

Definition at line 38 of file warnings.h.

Referenced by caunin(), and cdCautions().

char t_warnings::chNoteln[LIMWCN][INPUT_LINE_LENGTH]

Definition at line 38 of file warnings.h.

Referenced by cdNotes(), and notein().

char t_warnings::chRgcln[2][INPUT_LINE_LENGTH]

a comment about the geometry after model stops

Definition at line 34 of file warnings.h.

Referenced by BadStart(), cdReasonGeo(), and PrtComment().

char t_warnings::chWarnln[LIMWCN][INPUT_LINE_LENGTH]

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

Definition at line 38 of file warnings.h.

Referenced by cdWarnings(), and warnin().

bool t_warnings::lgCautns

Definition at line 44 of file warnings.h.

Referenced by PrtComment(), and PrtFinal().

bool t_warnings::lgWarngs

flags set if warnings or cautions present

Definition at line 44 of file warnings.h.

Referenced by cloudy(), PrtComment(), PrtFinal(), and SaveGrid().

long int t_warnings::nbang

Definition at line 28 of file warnings.h.

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

long int t_warnings::ncaun

Definition at line 28 of file warnings.h.

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

long int t_warnings::nnote

Definition at line 28 of file warnings.h.

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

long int t_warnings::nwarn

this are counters for the number of warnings, cautions, notes and surprises in the calculation

Definition at line 28 of file warnings.h.

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


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