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

SgWritePointArrayFloat< FLOAT > Class Template Reference

Write a float point array. More...

#include <SgPointArray.h>

List of all members.

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)

Detailed Description

template<typename FLOAT>
class SgWritePointArrayFloat< FLOAT >

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.


Constructor & Destructor Documentation

template<typename FLOAT>
SgWritePointArrayFloat< FLOAT >::SgWritePointArrayFloat ( const SgPointArray< FLOAT > &  array,
SgGrid  boardSize,
bool  fixed,
int  precision 
)

Definition at line 120 of file SgPointArray.h.


Member Function Documentation

template<typename FLOAT >
std::ostream & SgWritePointArrayFloat< FLOAT >::Write ( std::ostream &  out  )  const

Friends And Related Function Documentation

template<typename FLOAT >
std::ostream & operator<< ( std::ostream &  out,
const SgWritePointArrayFloat< FLOAT > &  write 
) [related]

Definition at line 163 of file SgPointArray.h.


Member Data Documentation

template<typename FLOAT>
const SgPointArray<FLOAT>& SgWritePointArrayFloat< FLOAT >::m_array [private]

Definition at line 138 of file SgPointArray.h.

Referenced by SgWritePointArrayFloat< FLOAT >::Write().

template<typename FLOAT>
SgGrid SgWritePointArrayFloat< FLOAT >::m_boardSize [private]

Definition at line 136 of file SgPointArray.h.

Referenced by SgWritePointArrayFloat< FLOAT >::Write().

template<typename FLOAT>
bool SgWritePointArrayFloat< FLOAT >::m_fixed [private]

Definition at line 132 of file SgPointArray.h.

Referenced by SgWritePointArrayFloat< FLOAT >::Write().

template<typename FLOAT>
int SgWritePointArrayFloat< FLOAT >::m_precision [private]

Definition at line 134 of file SgPointArray.h.

Referenced by SgWritePointArrayFloat< FLOAT >::Write().


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


Sun Mar 13 2011 Doxygen 1.7.1