Assignment Search Framework
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
map_location.h File Reference

Go to the source code of this file.

Classes

class  MapLocation
 

Functions

std::ostream & operator<< (std::ostream &out, const MapLocation &loc)
 
bool operator== (const MapLocation &loc1, const MapLocation &loc2)
 
bool operator!= (const MapLocation &loc1, const MapLocation &loc2)
 

Function Documentation

bool operator!= ( const MapLocation loc1,
const MapLocation loc2 
)

Defines inequality of two map locations.

Parameters
loc1The first location to test.
loc2The second location to test.
Returns
If the locations are not equal.
std::ostream& operator<< ( std::ostream &  out,
const MapLocation loc 
)

Outputs a string representation of a map location to the given output stream.

Parameters
outThe output stream.
locThe map location to output.
Returns
The output stream.
bool operator== ( const MapLocation loc1,
const MapLocation loc2 
)

Defines equality of two map locations.

Parameters
loc1The first location to test.
loc2The second location to test.
Returns
If the locations are equal or not.