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

SgReadPoint Class Reference

Read point. More...

#include <SgPoint.h>

List of all members.

Public Member Functions

 SgReadPoint (SgPoint &point)
void Read (std::istream &in) const

Private Attributes

SgPointm_point

Related Functions

(Note that these are not member functions.)



std::istream & operator>> (std::istream &in, const SgReadPoint &readPoint)

Detailed Description

Read point.

For overloading input stream operator for SgPoint (which is an integer). Usage:

    istream& in;
    SgPoint point;
    in >> SgReadPoint(point);
    if (! in)
       SgDebug() << "Invalid point\n";

Definition at line 186 of file SgPoint.h.


Constructor & Destructor Documentation

SgReadPoint::SgReadPoint ( SgPoint point  ) 

Definition at line 197 of file SgPoint.h.


Member Function Documentation

void SgReadPoint::Read ( std::istream &  in  )  const

Friends And Related Function Documentation

std::istream & operator>> ( std::istream &  in,
const SgReadPoint readPoint 
) [related]

Definition at line 203 of file SgPoint.h.


Member Data Documentation

Definition at line 194 of file SgPoint.h.

Referenced by Read().


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


Sun Mar 13 2011 Doxygen 1.7.1