Write a float point array. More...
#include <SgPointArray.h>
Public Member Functions | |
| SgWritePointArrayFloat (const SgPointArray< FLOAT > &array, SgGrid boardSize, bool fixed, int precision) | |
| std::ostream & | Write (std::ostream &out) const |
Private Attributes | |
| bool | m_fixed |
| int | m_precision |
| SgGrid | m_boardSize |
| const SgPointArray< FLOAT > & | m_array |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename FLOAT > | |
| std::ostream & | operator<< (std::ostream &out, const SgWritePointArrayFloat< FLOAT > &write) |
Write a float point array.
Enhanced version of SgWritePointArray for float or double types. Allows to specify some formatting options for floating point numbers.
Definition at line 117 of file SgPointArray.h.
| SgWritePointArrayFloat< FLOAT >::SgWritePointArrayFloat | ( | const SgPointArray< FLOAT > & | array, | |
| SgGrid | boardSize, | |||
| bool | fixed, | |||
| int | precision | |||
| ) |
Definition at line 120 of file SgPointArray.h.
| std::ostream & SgWritePointArrayFloat< FLOAT >::Write | ( | std::ostream & | out | ) | const |
Definition at line 142 of file SgPointArray.h.
References SgWritePointArrayFloat< FLOAT >::m_array, SgWritePointArrayFloat< FLOAT >::m_boardSize, SgWritePointArrayFloat< FLOAT >::m_fixed, SgWritePointArrayFloat< FLOAT >::m_precision, and SgPointUtil::Pt().
Referenced by operator<<().
| std::ostream & operator<< | ( | std::ostream & | out, | |
| const SgWritePointArrayFloat< FLOAT > & | write | |||
| ) | [related] |
Definition at line 163 of file SgPointArray.h.
const SgPointArray<FLOAT>& SgWritePointArrayFloat< FLOAT >::m_array [private] |
Definition at line 138 of file SgPointArray.h.
Referenced by SgWritePointArrayFloat< FLOAT >::Write().
SgGrid SgWritePointArrayFloat< FLOAT >::m_boardSize [private] |
Definition at line 136 of file SgPointArray.h.
Referenced by SgWritePointArrayFloat< FLOAT >::Write().
bool SgWritePointArrayFloat< FLOAT >::m_fixed [private] |
Definition at line 132 of file SgPointArray.h.
Referenced by SgWritePointArrayFloat< FLOAT >::Write().
int SgWritePointArrayFloat< FLOAT >::m_precision [private] |
Definition at line 134 of file SgPointArray.h.
Referenced by SgWritePointArrayFloat< FLOAT >::Write().