Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgWriteSPointList< SIZE > Class Template Reference

#include <SgWrite.h>

List of all members.


Detailed Description

template<int SIZE>
class SgWriteSPointList< SIZE >

Output a SgSList with SgPoint elements to a stream.

Definition at line 74 of file SgWrite.h.

Public Member Functions

 SgWriteSPointList (const SgSList< SgPoint, SIZE > &list, std::string label="", bool writeSize=true)
std::ostream & Write (std::ostream &out) const

Private Attributes

bool m_writeSize
const SgSList< SgPoint, SIZE > & m_list
std::string m_label

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &out, const SgWriteSPointList< SIZE > &write)


Constructor & Destructor Documentation

template<int SIZE>
SgWriteSPointList< SIZE >::SgWriteSPointList ( const SgSList< SgPoint, SIZE > &  list,
std::string  label = "",
bool  writeSize = true 
)

Definition at line 96 of file SgWrite.h.


Member Function Documentation

template<int SIZE>
std::ostream & SgWriteSPointList< SIZE >::Write ( std::ostream &  out  )  const

Definition at line 105 of file SgWrite.h.

References SgWriteSPointList< SIZE >::m_label, SgWriteSPointList< SIZE >::m_list, and SgWriteSPointList< SIZE >::m_writeSize.

Referenced by operator<<().


Friends And Related Function Documentation

template<int SIZE>
std::ostream & operator<< ( std::ostream &  out,
const SgWriteSPointList< SIZE > &  write 
) [related]


Member Data Documentation

template<int SIZE>
std::string SgWriteSPointList< SIZE >::m_label [private]

Definition at line 87 of file SgWrite.h.

Referenced by SgWriteSPointList< SIZE >::Write().

template<int SIZE>
const SgSList<SgPoint,SIZE>& SgWriteSPointList< SIZE >::m_list [private]

Definition at line 85 of file SgWrite.h.

Referenced by SgWriteSPointList< SIZE >::Write().

template<int SIZE>
bool SgWriteSPointList< SIZE >::m_writeSize [private]

Definition at line 83 of file SgWrite.h.

Referenced by SgWriteSPointList< SIZE >::Write().


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


17 Jun 2010 Doxygen 1.4.7