Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgWritePointList Class Reference

#include <SgWrite.h>

List of all members.


Detailed Description

Write all points in list.

Splits long lists into multiple lines.

Definition at line 46 of file 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< SgPointm_pointList
std::string m_label

Related Functions

(Note that these are not member functions.)

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


Constructor & Destructor Documentation

SgWritePointList::SgWritePointList ( const std::vector< SgPoint > &  pointList,
std::string  label = "",
bool  writeSize = true 
)

Definition at line 52 of file SgWrite.cpp.

SgWritePointList::SgWritePointList ( const SgVector< SgPoint > &  pointList,
std::string  label = "",
bool  writeSize = true 
)

Definition at line 60 of file SgWrite.cpp.

References m_pointList.


Member Function Documentation

ostream & SgWritePointList::Write ( std::ostream &  out  )  const

Definition at line 69 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 99 of file SgWrite.cpp.


Member Data Documentation

std::string SgWritePointList::m_label [private]

Definition at line 64 of file SgWrite.h.

Referenced by Write().

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

Definition at line 62 of file SgWrite.h.

Referenced by SgWritePointList(), and Write().

bool SgWritePointList::m_writeSize [private]

Definition at line 60 of file SgWrite.h.

Referenced by Write().


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


17 Jun 2010 Doxygen 1.4.7