Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Poly_gon Class Reference

#include <mappolygons.h>

List of all members.

Public Types

typedef MapCoordinate Point
typedef vector< Point >::iterator VertexIterator

Public Member Functions

void read (tnstream &stream)
void write (tnstream &stream) const

Public Attributes

vector< Pointvertex


Member Typedef Documentation

typedef MapCoordinate Poly_gon::Point
 

Definition at line 37 of file mappolygons.h.

typedef vector<Point>::iterator Poly_gon::VertexIterator
 

Definition at line 38 of file mappolygons.h.


Member Function Documentation

void Poly_gon::read tnstream stream  ) 
 

Definition at line 54 of file mappolygons.cpp.

References tnstream::getLocation(), readClassContainer(), tnstream::readInt(), and vertex.

void Poly_gon::write tnstream stream  )  const
 

Definition at line 63 of file mappolygons.cpp.

References vertex, writeClassContainer(), and tnstream::writeInt().


Member Data Documentation

vector<Point> Poly_gon::vertex
 

Definition at line 39 of file mappolygons.h.

Referenced by editpolygon(), PolygonPainterSquareCoordinate::paintPolygon(), read(), readOldEvent(), PolygonEditor::showFieldMarking(), and write().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:19:52 2008 for Advanced Strategic Command by  doxygen 1.4.2