Go to the documentation of this file.
30 template <
class MapType>
class MapPrinter
42 for(
unsigned i = 0; i < map.length(); ++i) {
43 count += p.
print(
" ");
44 count += map.valueAt(i).printTo(p);
size_t print(char c)
Prints a single character to output stream.
Definition: Print.h:97
size_t println()
Prints a newline to output stream.
Definition: Print.h:227
Definition: Array.hpp:107
long map(long, long, long, long, long)
Provides formatted output to stream.
Definition: Print.h:36
size_t printTo(Print &p) const
Definition: MapPrinter.hpp:71
MapPrinter(const MapType &map)
Definition: MapPrinter.hpp:67