Write all points in list. More...
#include <SgWrite.h>
Public Member Functions | |
SgWritePointList (const std::vector< SgPoint > &pointList, std::string label="", bool writeSize=true) | |
SgWritePointList (const SgVector< SgPoint > &pointList, std::string label="", bool writeSize=true) | |
std::ostream & | Write (std::ostream &out) const |
Private Attributes | |
bool | m_writeSize |
std::vector< SgPoint > | m_pointList |
std::string | m_label |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &out, const SgWritePointList &write) |
Write all points in list.
Splits long lists into multiple lines.
Definition at line 43 of file SgWrite.h.
SgWritePointList::SgWritePointList | ( | const std::vector< SgPoint > & | pointList, | |
std::string | label = "" , |
|||
bool | writeSize = true | |||
) |
Definition at line 51 of file SgWrite.cpp.
SgWritePointList::SgWritePointList | ( | const SgVector< SgPoint > & | pointList, | |
std::string | label = "" , |
|||
bool | writeSize = true | |||
) |
Definition at line 59 of file SgWrite.cpp.
References m_pointList.
ostream & SgWritePointList::Write | ( | std::ostream & | out | ) | const |
Definition at line 68 of file SgWrite.cpp.
References m_label, m_pointList, and m_writeSize.
Referenced by operator<<().
std::ostream & operator<< | ( | std::ostream & | out, | |
const SgWritePointList & | write | |||
) | [related] |
Definition at line 98 of file SgWrite.cpp.
std::string SgWritePointList::m_label [private] |
std::vector<SgPoint> SgWritePointList::m_pointList [private] |
Definition at line 59 of file SgWrite.h.
Referenced by SgWritePointList(), and Write().
bool SgWritePointList::m_writeSize [private] |