Public Member Functions | |
PgmHeader (int w, int h, unsigned max_v) | |
void | write (std::ostream &os) const |
Private Member Functions | |
template<typename T > | |
void | write_integral (std::ostream &os, T value) const |
void | write_whitespace (std::ostream &os) const |
Private Attributes | |
int | _height |
char | _magic [2] = {'P', '5'} |
unsigned | _max_val |
int | _width |
Definition at line 20 of file map_dumpers.h.
|
inline |
Definition at line 22 of file map_dumpers.h.
|
inline |
Definition at line 25 of file map_dumpers.h.
|
inlineprivate |
Definition at line 42 of file map_dumpers.h.
|
inlineprivate |
Definition at line 36 of file map_dumpers.h.
|
private |
Definition at line 49 of file map_dumpers.h.
|
private |
Definition at line 48 of file map_dumpers.h.
|
private |
Definition at line 50 of file map_dumpers.h.
|
private |
Definition at line 49 of file map_dumpers.h.