8#ifndef IGL_SORTABLE_ROW_H
9#define IGL_SORTABLE_ROW_H
37 int minc = (this->data.size() < that.
data.size()?
38 this->data.size() : that.
data.size());
40 for(
int i = 0;i<minc;i++)
49 return this->data.size()<that.
data.size();
56 if(this->data.size() != that.
data.size())
60 for(
int i = 0;i<this->data.size();i++)
74 return !(*
this == that);
A row of things that can be sorted against other rows.
Definition SortableRow.h:21
bool operator!=(const SortableRow &that) const
Inequality comparison.
Definition SortableRow.h:72
bool operator==(const SortableRow &that) const
Equality comparison.
Definition SortableRow.h:54
bool operator<(const SortableRow &that) const
Less than comparison.
Definition SortableRow.h:34
T data
The data.
Definition SortableRow.h:24
SortableRow()
Default constructor.
Definition SortableRow.h:27
SortableRow(const T &data)
Constructor.
Definition SortableRow.h:30