Stg::point_int_t Class Reference

#include <stage.hh>

Public Member Functions

bool operator< (const point_int_t &other) const
bool operator== (const point_int_t &other) const
 point_int_t (int x, int y)
 point_int_t ()

Public Attributes

int x
int y

Detailed Description

Define an integer point on the 2d plane

Constructor & Destructor Documentation

Stg::point_int_t::point_int_t ( int  x,
int  y 
)
inline
Stg::point_int_t::point_int_t ( )
inline

Member Function Documentation

bool Stg::point_int_t::operator< ( const point_int_t other) const
inline

required to put these in sorted containers like std::map

bool Stg::point_int_t::operator== ( const point_int_t other) const
inline

Member Data Documentation

int Stg::point_int_t::x
int Stg::point_int_t::y

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