An objectMap is a pair of labels defining the mapping of an object from another object, e.g. a cell mapped from a point. More...
Public Member Functions | |
objectMap () noexcept | |
Default construct, with index=-1 and no objects. More... | |
objectMap (const label index, const labelUList &master) | |
Copy construct from components. More... | |
objectMap (const label index, labelList &&master) | |
Move construct from components. More... | |
objectMap (Istream &is) | |
Construct from Istream. More... | |
bool | empty () const noexcept |
True if there are no objects. More... | |
label | size () const noexcept |
The number of objects. More... | |
label & | index () noexcept |
The object index. More... | |
label | index () const noexcept |
The object index. More... | |
labelList & | masterObjects () noexcept |
The master object indices. More... | |
const labelList & | masterObjects () const noexcept |
The master object indices. More... | |
Friends | |
bool | operator== (const objectMap &a, const objectMap &b) |
bool | operator!= (const objectMap &a, const objectMap &b) |
Ostream & | operator<< (Ostream &, const objectMap &) |
Istream & | operator>> (Istream &, objectMap &) |
An objectMap is a pair of labels defining the mapping of an object from another object, e.g. a cell mapped from a point.
Definition at line 56 of file objectMap.H.
|
inlinenoexcept |
Default construct, with index=-1 and no objects.
Definition at line 78 of file objectMap.H.
|
inline |
Copy construct from components.
Definition at line 25 of file objectMapI.H.
Move construct from components.
Definition at line 32 of file objectMapI.H.
Construct from Istream.
Definition at line 39 of file objectMapI.H.
References IOstream::check(), FUNCTION_NAME, Istream::readBegin(), and Istream::readEnd().
|
inlinenoexcept |
True if there are no objects.
Definition at line 101 of file objectMap.H.
References UList< T >::empty().
|
inlinenoexcept |
The number of objects.
Definition at line 106 of file objectMap.H.
References UList< T >::size().
|
inlinenoexcept |
The object index.
Definition at line 111 of file objectMap.H.
|
inlinenoexcept |
The object index.
Definition at line 116 of file objectMap.H.
|
inlinenoexcept |
The master object indices.
Definition at line 121 of file objectMap.H.
|
inlinenoexcept |
The master object indices.
Definition at line 126 of file objectMap.H.