cloudy
trunk
Loading...
Searching...
No Matches
source
cddefines.cpp
Go to the documentation of this file.
1
/* This file is part of Cloudy and is copyright (C)1978-2013 by Gary J. Ferland and
2
* others. For conditions of distribution and use see copyright notice in license.txt */
3
/* out-of-line constructor for assert -- put breakpoint in this
4
routine to trap assert throws for IDEs without built-in facility. */
5
#include "
cddefines.h
"
6
7
FILE *
ioQQQ
;
8
FILE *
ioStdin
;
9
FILE*
ioPrnErr
;
10
bool
lgAbort
;
11
bool
lgTestCodeCalled
;
12
bool
lgTestCodeEnabled
;
13
bool
lgPrnErr
;
14
long
int
nzone
;
15
double
fnzone
;
16
long
int
iteration
;
17
bad_assert::bad_assert
(
const
char
*
file
,
long
line
,
const
char
*
comment
):
18
p_file
(
file
),
p_line
(
line
),
p_comment
(
comment
)
19
{
20
}
nzone
long int nzone
Definition
cddefines.cpp:14
ioPrnErr
FILE * ioPrnErr
Definition
cddefines.cpp:9
lgTestCodeCalled
bool lgTestCodeCalled
Definition
cddefines.cpp:11
ioQQQ
FILE * ioQQQ
Definition
cddefines.cpp:7
lgTestCodeEnabled
bool lgTestCodeEnabled
Definition
cddefines.cpp:12
ioStdin
FILE * ioStdin
Definition
cddefines.cpp:8
lgPrnErr
bool lgPrnErr
Definition
cddefines.cpp:13
lgAbort
bool lgAbort
Definition
cddefines.cpp:10
iteration
long int iteration
Definition
cddefines.cpp:16
fnzone
double fnzone
Definition
cddefines.cpp:15
cddefines.h
bad_assert::comment
const char * comment() const
Definition
cddefines.h:561
bad_assert::file
const char * file() const
Definition
cddefines.h:553
bad_assert::p_line
long p_line
Definition
cddefines.h:540
bad_assert::p_file
const char * p_file
Definition
cddefines.h:539
bad_assert::p_comment
const char * p_comment
Definition
cddefines.h:541
bad_assert::line
long line() const
Definition
cddefines.h:557
bad_assert::bad_assert
bad_assert(const char *file, long line, const char *comment)
Definition
cddefines.cpp:17
Generated by
1.14.0