libabigail
Loading...
Searching...
No Matches
point Class Reference

A class representing a vertex in an edit graph, as explained in the paper. A vertex is a basically a pair of coordinates (abscissa and ordinate). More...

#include <abg-diff-utils.h>

Public Member Functions

 point (const point &p)
 
 point (int x, int y)
 
void add (int ax, int ay)
 
void clear ()
 
bool is_empty () const
 
 operator bool () const
 
bool operator! () const
 
bool operator!= (const point &o) const
 
point operator+ (int val) const
 
pointoperator++ ()
 
point operator++ (int)
 
pointoperator+= (int val)
 
point operator- (int val) const
 
pointoperator-- ()
 
point operator-- (int)
 
pointoperator-= (int val)
 
bool operator< (const point &o) const
 
bool operator<= (const point &o) const
 
pointoperator= (const point &p)
 
pointoperator= (int val)
 
bool operator== (const point &o) const
 
bool operator> (const point &o) const
 
bool operator>= (const point &o) const
 
void set (int x, int y)
 
void set (int x, int y, bool empty)
 
int x () const
 
void x (int x)
 
int y () const
 
void y (int y)
 

Detailed Description

A class representing a vertex in an edit graph, as explained in the paper. A vertex is a basically a pair of coordinates (abscissa and ordinate).

Definition at line 57 of file abg-diff-utils.h.

Constructor & Destructor Documentation

◆ point() [1/3]

point ( )
inline

Definition at line 65 of file abg-diff-utils.h.

◆ point() [2/3]

point ( int x,
int y )
inline

Definition at line 69 of file abg-diff-utils.h.

◆ point() [3/3]

point ( const point & p)
inline

Definition at line 73 of file abg-diff-utils.h.

Member Function Documentation

◆ add()

void add ( int ax,
int ay )
inline

Definition at line 116 of file abg-diff-utils.h.

◆ clear()

void clear ( )
inline

Definition at line 212 of file abg-diff-utils.h.

◆ is_empty()

bool is_empty ( ) const
inline

Definition at line 201 of file abg-diff-utils.h.

◆ operator bool()

operator bool ( ) const
inline

Definition at line 204 of file abg-diff-utils.h.

◆ operator!()

bool operator! ( ) const
inline

Definition at line 208 of file abg-diff-utils.h.

◆ operator!=()

bool operator!= ( const point & o) const
inline

Definition at line 120 of file abg-diff-utils.h.

◆ operator+()

point operator+ ( int val) const
inline

Definition at line 144 of file abg-diff-utils.h.

◆ operator++() [1/2]

point & operator++ ( )
inline

Definition at line 167 of file abg-diff-utils.h.

◆ operator++() [2/2]

point operator++ ( int )
inline

Definition at line 179 of file abg-diff-utils.h.

◆ operator+=()

point & operator+= ( int val)
inline

Definition at line 152 of file abg-diff-utils.h.

◆ operator-()

point operator- ( int val) const
inline

Definition at line 148 of file abg-diff-utils.h.

◆ operator--() [1/2]

point & operator-- ( )
inline

Definition at line 163 of file abg-diff-utils.h.

◆ operator--() [2/2]

point operator-- ( int )
inline

Definition at line 171 of file abg-diff-utils.h.

◆ operator-=()

point & operator-= ( int val)
inline

Definition at line 159 of file abg-diff-utils.h.

◆ operator<()

bool operator< ( const point & o) const
inline

Definition at line 127 of file abg-diff-utils.h.

◆ operator<=()

bool operator<= ( const point & o) const
inline

Definition at line 135 of file abg-diff-utils.h.

◆ operator=() [1/2]

point & operator= ( const point & p)
inline

Definition at line 194 of file abg-diff-utils.h.

◆ operator=() [2/2]

point & operator= ( int val)
inline

Definition at line 187 of file abg-diff-utils.h.

◆ operator==()

bool operator== ( const point & o) const
inline

Definition at line 124 of file abg-diff-utils.h.

◆ operator>()

bool operator> ( const point & o) const
inline

Definition at line 132 of file abg-diff-utils.h.

◆ operator>=()

bool operator>= ( const point & o) const
inline

Definition at line 140 of file abg-diff-utils.h.

◆ set() [1/2]

void set ( int x,
int y )
inline

Definition at line 100 of file abg-diff-utils.h.

◆ set() [2/2]

void set ( int x,
int y,
bool empty )
inline

Definition at line 108 of file abg-diff-utils.h.

◆ x() [1/2]

int x ( ) const
inline

Definition at line 78 of file abg-diff-utils.h.

◆ x() [2/2]

void x ( int x)
inline

Definition at line 82 of file abg-diff-utils.h.

◆ y() [1/2]

int y ( ) const
inline

Definition at line 89 of file abg-diff-utils.h.

◆ y() [2/2]

void y ( int y)
inline

Definition at line 93 of file abg-diff-utils.h.


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