Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes | Related Functions

SgWritePointList Class Reference

Write all points in list. More...

#include <SgWrite.h>

List of all members.

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< SgPointm_pointList
std::string m_label

Related Functions

(Note that these are not member functions.)



std::ostream & operator<< (std::ostream &out, const SgWritePointList &write)

Detailed Description

Write all points in list.

Splits long lists into multiple lines.

Definition at line 43 of file SgWrite.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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<<().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  out,
const SgWritePointList write 
) [related]

Definition at line 98 of file SgWrite.cpp.


Member Data Documentation

std::string SgWritePointList::m_label [private]

Definition at line 61 of file SgWrite.h.

Referenced by Write().

std::vector<SgPoint> SgWritePointList::m_pointList [private]

Definition at line 59 of file SgWrite.h.

Referenced by SgWritePointList(), and Write().

Definition at line 57 of file SgWrite.h.

Referenced by Write().


The documentation for this class was generated from the following files:


Sun Mar 13 2011 Doxygen 1.7.1