|
JX Application Framework
|
#include "JList.h"Functions | |
| std::weak_ordering | JCompareIndices (const JIndex &i, const JIndex &j) |
| std::weak_ordering | JCompareSizes (const JSize &s1, const JSize &s2) |
| std::weak_ordering | JCompareCoordinates (const JCoordinate &x1, const JCoordinate &x2) |
| std::weak_ordering | JCompareUInt64 (const JUInt64 &i1, const JUInt64 &i2) |
| void | JAdjustIndexAfterInsert (const JIndex firstInsertedIndex, const JSize count, JIndex *indexToAdjust) |
| bool | JAdjustIndexAfterRemove (const JIndex firstRemovedIndex, const JSize count, JIndex *indexToAdjust) |
| void | JAdjustIndexAfterMove (const JIndex origIndex, const JIndex newIndex, JIndex *indexToAdjust) |
| void | JAdjustIndexAfterSwap (const JIndex swappedIndex1, const JIndex swappedIndex2, JIndex *indexToAdjust) |
| void JAdjustIndexAfterInsert | ( | const JIndex | firstInsertedIndex, |
| const JSize | count, | ||
| JIndex * | indexToAdjust | ||
| ) |
The default way to adjust all indices after a block of elements have been inserted.
| void JAdjustIndexAfterMove | ( | const JIndex | origIndex, |
| const JIndex | newIndex, | ||
| JIndex * | indexToAdjust | ||
| ) |
The default way to adjust all indices after an element has moved.
| bool JAdjustIndexAfterRemove | ( | const JIndex | firstRemovedIndex, |
| const JSize | count, | ||
| JIndex * | indexToAdjust | ||
| ) |
The default way to adjust all indices after a block of elements have been removed. Returns false and sets *index=0 if this was one of the elements that were removed.
| void JAdjustIndexAfterSwap | ( | const JIndex | swappedIndex1, |
| const JIndex | swappedIndex2, | ||
| JIndex * | indexToAdjust | ||
| ) |
The default way to adjust all indices after two elements have been swapped.
| std::weak_ordering JCompareCoordinates | ( | const JCoordinate & | x1, |
| const JCoordinate & | x2 | ||
| ) |