teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
#include <pos2d.h>
Public Types | |
typedef T | DataT |
Public Member Functions | |
Pos2d (T x_=0, T y_=0) | |
const Pos2d< T > & | operator= (const Pos2d< T > &in) |
bool | operator> (const Pos2d< T > &b) const |
bool | operator>= (const Pos2d< T > &b) const |
bool | operator== (const Pos2d< T > &b) const |
bool | operator!= (const Pos2d< T > &b) const |
bool | operator<= (const Pos2d< T > &b) const |
bool | operator< (const Pos2d< T > &b) const |
int | find (Pos2d< T > &start, Pos2d< T > &end, const Pos2d< T > &other) const |
Finds the start/end points for the range defined by this and the other position. More... | |
Pos2d & | operator+= (const std::string &chars) |
bool | isInside (int _y, int _x, const Pos2d< T > &cu) const |
Check if the given location is in the regions. More... | |
Public Attributes | |
T | x |
T | y |
Any 2D position.
T | Type of position |
typedef T teditor::Pos2d< T >::DataT |
|
inline |
|
inline |
Finds the start/end points for the range defined by this and the other position.
start | the start location |
end | the end location |
other | the other position |
|
inline |
Check if the given location is in the regions.
|
inline |
|
inline |
move the pointer ahead based on the characters in the input
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
T teditor::Pos2d< T >::x |
T teditor::Pos2d< T >::y |