|
|
|
SortableList Class Template ReferenceInheritance diagram for SortableList:![]() ![]() Detailed Descriptiontemplate<class Type>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| SortableList (const List< Type > &) | |
| Construct from List, sorting the elements. Starts with indices set. | |
| SortableList (const List< Type > &, const labelList &) | |
| Construct from List, sorting the elements. Starts with indices. | |
| SortableList (const label size) | |
| Construct given size. Sort later on. | |
| SortableList (const label size, const Type &) | |
| Construct given size and initial value. Sort later on. | |
| SortableList (const SortableList< Type > &) | |
| Construct as copy. | |
| const labelList & | indices () const |
| Return the list of sorted point indices. | |
| void | setSize (const label) |
| Size the list (shrink or grow followed by sort). | |
| void | sort () |
| Sort the list (if changed after construction time). | |
| void | operator= (const SortableList< Type > &) |
Classes | |
| class | less |
| Less function class used by the sort function. More... | |
| SortableList | ( | const List< Type > & | ) |
Construct from List, sorting the elements. Starts with indices set.
to index in argument
| SortableList | ( | const List< Type > & | , | |
| const labelList & | ||||
| ) |
Construct from List, sorting the elements. Starts with indices.
as given
| SortableList | ( | const label | size | ) |
Construct given size. Sort later on.
| SortableList | ( | const label | size, | |
| const Type & | ||||
| ) |
Construct given size and initial value. Sort later on.
| SortableList | ( | const SortableList< Type > & | ) |
Construct as copy.
| const labelList& indices | ( | ) | const [inline] |
| void setSize | ( | const | label | ) |
| void sort | ( | ) |
Sort the list (if changed after construction time).
| void operator= | ( | const SortableList< Type > & | ) |