IndirectList< T > Class Template Reference

A List with indirect addressing. More...

Inheritance diagram for IndirectList< T >:
[legend]
Collaboration diagram for IndirectList< T >:
[legend]

Public Member Functions

 IndirectList (const UList< T > &values, const labelUList &addr)
 Copy construct addressing, shallow copy values reference. More...
 
 IndirectList (const UList< T > &values, labelList &&addr)
 Move construct addressing, shallow copy values reference. More...
 
 IndirectList (const UList< T > &values, const Foam::zero)
 Zero-sized addressing, shallow copy values reference. More...
 
 IndirectList (const IndirectList< T > &list)
 Copy construct addressing, shallow copy values reference. More...
 
 IndirectList (IndirectList< T > &&list)
 Move construct addressing, shallow copy values reference. More...
 
 IndirectList (const UIndirectList< T > &list)
 Copy construct addressing, shallow copy values reference. More...
 
void operator= (const IndirectList< T > &rhs)
 Deep copy values, Fatal if list sizes are not identical. More...
 
const Addr & addressing () const noexcept
 The list addressing. More...
 
Addr & addressing () noexcept
 The list addressing. More...
 
- Public Member Functions inherited from UIndirectList< T >
 UIndirectList (const UList< T > &values, const labelUList &addr)
 Shallow copy values and addressing. More...
 
 UIndirectList (const UIndirectList< T > &list)
 Copy construct (shallow copy values and addressing) More...
 
void operator= (const UIndirectList< T > &rhs)
 Deep copy values, Fatal if list sizes are not identical. More...
 

Detailed Description

template<class T>
class Foam::IndirectList< T >

A List with indirect addressing.

See also
Foam::UIndirectList for a version without addressing allocation.
Source files

Definition at line 56 of file IndirectList.H.

Constructor & Destructor Documentation

◆ IndirectList() [1/6]

IndirectList ( const UList< T > &  values,
const labelUList addr 
)
inline

Copy construct addressing, shallow copy values reference.

Definition at line 33 of file IndirectListI.H.

◆ IndirectList() [2/6]

IndirectList ( const UList< T > &  values,
labelList &&  addr 
)
inline

Move construct addressing, shallow copy values reference.

Definition at line 49 of file IndirectListI.H.

◆ IndirectList() [3/6]

IndirectList ( const UList< T > &  values,
const Foam::zero   
)
inline

Zero-sized addressing, shallow copy values reference.

Definition at line 65 of file IndirectListI.H.

◆ IndirectList() [4/6]

IndirectList ( const IndirectList< T > &  list)
inline

Copy construct addressing, shallow copy values reference.

Definition at line 80 of file IndirectListI.H.

◆ IndirectList() [5/6]

IndirectList ( IndirectList< T > &&  list)
inline

Move construct addressing, shallow copy values reference.

Definition at line 93 of file IndirectListI.H.

◆ IndirectList() [6/6]

IndirectList ( const UIndirectList< T > &  list)
inlineexplicit

Copy construct addressing, shallow copy values reference.

Definition at line 106 of file IndirectListI.H.

Member Function Documentation

◆ operator=()

void operator= ( const IndirectList< T > &  rhs)
inline

Deep copy values, Fatal if list sizes are not identical.

Definition at line 96 of file IndirectList.H.

◆ addressing() [1/2]

const Addr& addressing
inlinenoexcept

The list addressing.

Definition at line 76 of file IndirectListAddressing.H.

Referenced by sampledFaceZone::update(), and sampledPatch::update().

Here is the caller graph for this function:

◆ addressing() [2/2]

Addr& addressing
inlinenoexcept

The list addressing.

Definition at line 82 of file IndirectListAddressing.H.


The documentation for this class was generated from the following files: