|
|
|
IndirectList Class Template ReferenceList of all members.Detailed Descriptiontemplate<class T>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| IndirectList (const UList< T > &, const List< label > &) | |
| Construct given the complete list and the addressing array. | |
| label | size () const |
| const UList< T > & | completeList () const |
| const List< label > & | addressing () const |
| void | resetAddressing (const List< label > &addr) |
| Reset addressing. | |
| List< T > | operator() () const |
| Return the addressed elements as a List. | |
| T & | operator[] (const label) |
| Return non-const access to an element. | |
| const T & | operator[] (const label) const |
| Return const access to an element. | |
| void | operator= (const UList< T > &) |
| Assignment from UList of addressed elements. | |
| void | operator= (const T &) |
| Assignment of all entries to the given value. | |
| IndirectList | ( | const UList< T > & | , | |
| const List< label > & | ||||
| ) | [inline] |
Construct given the complete list and the addressing array.
Definition at line 36 of file IndirectListI.H.
| Foam::label size | ( | ) | const [inline] |
Definition at line 49 of file IndirectListI.H.
| const Foam::UList< T > & completeList | ( | ) | const [inline] |
Definition at line 56 of file IndirectListI.H.
| const Foam::List< Foam::label > & addressing | ( | ) | const [inline] |
Definition at line 63 of file IndirectListI.H.
| Foam::List< T > operator() | ( | ) | const [inline] |
Return the addressed elements as a List.
Definition at line 82 of file IndirectListI.H.
References IndirectList::operator[]().
Here is the call graph for this function:

| T & operator[] | ( | const | label | ) | [inline] |
Return non-const access to an element.
Definition at line 96 of file IndirectListI.H.
Referenced by IndirectList::operator()().
Here is the caller graph for this function:

| const T & operator[] | ( | const | label | ) | const [inline] |
Return const access to an element.
Definition at line 103 of file IndirectListI.H.
References FatalErrorIn, and UList::size().
Here is the call graph for this function:

| void operator= | ( | const UList< T > & | ) | [inline] |
| void operator= | ( | const T & | ) | [inline] |