Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gul::dump_line Class Template Reference

#include <gul_io.h>

List of all members.

Public Methods

 dump_line (const L &l, dump_format f, dump_point_format e)
 dump_line (const L &l)
ostream & out_human (ostream &os) const
ostream & out_gul (ostream &os) const

Public Attributes

m_line
dump_format m_f
dump_point_format m_e

template<class EP, class L>
class gul::dump_line< EP, L >


Constructor & Destructor Documentation

template<class EP, class L>
gul::dump_line< EP, L >::dump_line const L &    l,
dump_format    f,
dump_point_format    e
[inline]
 

Definition at line 200 of file gul_io.h.

References gul::dump_format, gul::dump_point_format, m_e, m_f, and m_line.

00201   {
00202     m_line = l;
00203     m_f = f;
00204     m_e = e;
00205   }

template<class EP, class L>
gul::dump_line< EP, L >::dump_line const L &    l [inline]
 

Definition at line 206 of file gul_io.h.

References m_e, m_f, and m_line.

00207   {
00208     m_line = l;
00209     m_f = dump_defaults::m_format;
00210     m_e = dump_defaults::m_point_format;
00211   }


Member Function Documentation

template<class EP, class L>
ostream& gul::dump_line< EP, L >::out_gul ostream &    os const [inline]
 

Definition at line 219 of file gul_io.h.

References gul::gul_format, gul::human_readable, m_e, m_f, and m_line.

00220   {
00221     os << "(" << dump_point<EP>(m_line[0],m_f,m_e) << ", "
00222        << dump_point<EP>(m_line[1],m_f,m_e) << ")";
00223 
00224     return os;
00225   }

template<class EP, class L>
ostream& gul::dump_line< EP, L >::out_human ostream &    os const [inline]
 

Definition at line 212 of file gul_io.h.

References m_e, m_f, and m_line.

00213   {
00214     os << "(" << dump_point<EP>(m_line[0],m_f,m_e) << " "
00215        << dump_point<EP>(m_line[1],m_f,m_e) << ")";
00216 
00217     return os;
00218   }


Member Data Documentation

template<class EP, class L>
dump_point_format gul::dump_line::m_e
 

Definition at line 198 of file gul_io.h.

Referenced by dump_line(), out_gul(), and out_human().

template<class EP, class L>
dump_format gul::dump_line::m_f
 

Definition at line 197 of file gul_io.h.

Referenced by dump_line(), out_gul(), and out_human().

template<class EP, class L>
L gul::dump_line::m_line
 

Definition at line 196 of file gul_io.h.

Referenced by dump_line(), out_gul(), and out_human().


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 04:17:57 2002 for GUL 0.6 - Geometry Utility Library by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001