#include <SgPointArray.h>
Computes the maximum string representation length of each element in the array to write out aligned columns with minimum space in between.
Definition at line 62 of file SgPointArray.h.
Public Member Functions | |
SgWritePointArray (const SgPointArray< T > &array, SgGrid boardSize) | |
std::ostream & | Write (std::ostream &out) const |
Private Attributes | |
SgGrid | m_boardSize |
const SgPointArray< T > & | m_array |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &out, const SgWritePointArray< T > &write) |
SgWritePointArray< T >::SgWritePointArray | ( | const SgPointArray< T > & | array, | |
SgGrid | boardSize | |||
) |
Definition at line 65 of file SgPointArray.h.
std::ostream & SgWritePointArray< T >::Write | ( | std::ostream & | out | ) | const |
Definition at line 80 of file SgPointArray.h.
References SgWritePointArray< T >::m_array, SgWritePointArray< T >::m_boardSize, and SgPointUtil::Pt().
Referenced by operator<<().
std::ostream & operator<< | ( | std::ostream & | out, | |
const SgWritePointArray< T > & | write | |||
) | [related] |
Definition at line 108 of file SgPointArray.h.
const SgPointArray<T>& SgWritePointArray< T >::m_array [private] |
SgGrid SgWritePointArray< T >::m_boardSize [private] |