#include <iostream>
Go to the source code of this file.
|
#define | USE_DEFAULT_STREAMS |
|
#define | mcout std::cout /* change to ordinary default C++ stream */ |
|
#define | mcerr std::cerr |
|
#define | Ifile file << indn |
|
#define | Imcout mcout << indn |
|
#define | Iprint(file, name) file << indn << #name << "=" << noindent << name << yesindent; |
|
#define | Iprintf(file, name) |
|
#define | Iprintn(file, name) file << indn << #name << "=" << noindent << name << '\n' << yesindent; |
|
#define | Iprintnf(file, name) |
|
#define | Iprintan(file, name, addition) |
|
#define | Iprint2(file, name1, name2) |
|
#define | Iprint2n(file, name1, name2) |
|
#define | Iprint2nf(file, name1, name2) |
|
#define | Iprint3(file, name1, name2, name3) |
|
#define | Iprint3n(file, name1, name2, name3) |
|
#define | Iprint3nf(file, name1, name2, name3) |
|
#define | Iprint4n(file, name1, name2, name3, name4) |
|
◆ Ifile
#define Ifile file << indn |
◆ Imcout
#define Imcout mcout << indn |
◆ Iprint
#define Iprint |
( |
|
file, |
|
|
|
name |
|
) |
| file << indn << #name << "=" << noindent << name << yesindent; |
◆ Iprint2
#define Iprint2 |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2 |
|
) |
| |
Value: file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 << "=" \
<< noindent << name2 << yesindent;
Definition at line 216 of file prstream.h.
◆ Iprint2n
#define Iprint2n |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2 |
|
) |
| |
Value: file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 << "=" \
<< noindent << name2 << '\n' << yesindent;
Definition at line 219 of file prstream.h.
◆ Iprint2nf
#define Iprint2nf |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2 |
|
) |
| |
Value: { \
file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 \
<< "=" << noindent << name2 << '\n' << yesindent; \
file.flush(); \
}
Definition at line 222 of file prstream.h.
◆ Iprint3
#define Iprint3 |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2, |
|
|
|
name3 |
|
) |
| |
Value: file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 << "=" \
<< noindent << name2 << ", " << #name3 << "=" << noindent << name3 \
<< yesindent;
Definition at line 228 of file prstream.h.
◆ Iprint3n
#define Iprint3n |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2, |
|
|
|
name3 |
|
) |
| |
Value: file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 << "=" \
<< noindent << name2 << ", " << #name3 << "=" << noindent << name3 \
<< '\n' << yesindent;
Definition at line 232 of file prstream.h.
◆ Iprint3nf
#define Iprint3nf |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2, |
|
|
|
name3 |
|
) |
| |
Value: { \
file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 \
<< "=" << noindent << name2 << ", " << #name3 << "=" << noindent \
<< name3 << '\n' << yesindent; \
file.flush(); \
}
Definition at line 236 of file prstream.h.
◆ Iprint4n
#define Iprint4n |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2, |
|
|
|
name3, |
|
|
|
name4 |
|
) |
| |
Value: file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 << "=" \
<< noindent << name2 << ", " << #name3 << "=" << noindent << name3 \
<< ", " << #name4 << "=" << noindent << name4 << '\n' << yesindent;
Definition at line 243 of file prstream.h.
◆ Iprintan
#define Iprintan |
( |
|
file, |
|
|
|
name, |
|
|
|
addition |
|
) |
| |
Value: file << indn << #name << "=" << noindent << name << ' ' << addition << '\n' \
<< yesindent;
Definition at line 211 of file prstream.h.
◆ Iprintf
#define Iprintf |
( |
|
file, |
|
|
|
name |
|
) |
| |
Value: { \
file << indn << #name << "=" << noindent << name << yesindent; \
file.flush(); \
}
Definition at line 199 of file prstream.h.
◆ Iprintn
#define Iprintn |
( |
|
file, |
|
|
|
name |
|
) |
| file << indn << #name << "=" << noindent << name << '\n' << yesindent; |
◆ Iprintnf
#define Iprintnf |
( |
|
file, |
|
|
|
name |
|
) |
| |
Value: { \
file << indn << #name << "=" << noindent << name << '\n' << yesindent; \
file.flush(); \
}
Definition at line 206 of file prstream.h.
◆ mcerr
◆ mcout
#define mcout std::cout /* change to ordinary default C++ stream */ |
◆ USE_DEFAULT_STREAMS
#define USE_DEFAULT_STREAMS |