A container with an integer index that can be attached to any item. The index may be useful for sorting or storing additional information.
More...
template<class
T>
class Foam::LabelledItem< T >
A container with an integer index that can be attached to any item. The index may be useful for sorting or storing additional information.
- See also
- Foam::objectHit Foam::PointIndexHit
- Source files
-
Definition at line 62 of file LabelledItem.H.
◆ LabelledItem() [1/5]
Default construct item, with index = -1.
Definition at line 78 of file LabelledItem.H.
◆ LabelledItem() [2/5]
Copy construct item, with index = -1.
Definition at line 85 of file LabelledItem.H.
◆ LabelledItem() [3/5]
Move construct item, with index = -1.
Definition at line 92 of file LabelledItem.H.
◆ LabelledItem() [4/5]
◆ LabelledItem() [5/5]
◆ index() [1/2]
◆ index() [2/2]
◆ setIndex()
void setIndex |
( |
const label |
idx | ) |
|
|
inlinenoexcept |
◆ operator==()
Test for equality of components.
Definition at line 136 of file LabelledItem.H.
References T.
◆ operator!=()
◆ operator>>
◆ operator
The documentation for this class was generated from the following file: