#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 217 of file prstream.h.
◆ Iprint2n
#define Iprint2n |
( |
|
file, |
|
|
|
name1, |
|
|
|
name2 |
|
) |
| |
Value: file << indn << #name1 << "=" << noindent << name1 << ", " << #name2 << "=" \
<< noindent << name2 << '\n' << yesindent;
Definition at line 220 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 223 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 229 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 233 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 237 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 244 of file prstream.h.
◆ Iprintan
#define Iprintan |
( |
|
file, |
|
|
|
name, |
|
|
|
addition |
|
) |
| |
Value: file << indn << #name << "=" << noindent << name << ' ' << addition << '\n' \
<< yesindent;
Definition at line 212 of file prstream.h.
◆ Iprintf
#define Iprintf |
( |
|
file, |
|
|
|
name |
|
) |
| |
Value: { \
file << indn << #name << "=" << noindent << name << yesindent; \
file.flush(); \
}
Definition at line 200 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 207 of file prstream.h.
◆ mcerr
◆ mcout
#define mcout std::cout /* change to ordinary default C++ stream */ |
◆ USE_DEFAULT_STREAMS
#define USE_DEFAULT_STREAMS |