Public Member Functions | List of all members
IndirectSubList Class Reference

Indirect access to a sub-section of a list. More...

Public Member Functions

 IndirectSubList (const UList< T > &values)
 
 IndirectSubList (const UList< T > &values, const labelRange &addr)
 
const Addr & addressing () const noexcept
 
Addr & addressing () noexcept
 

Detailed Description

Indirect access to a sub-section of a list.

In many cases, using a Foam::SubList provides a simpler and more efficient means of accessing a sub-list. There are, however, some advantages of a IndirectSubList:

See also
Foam::SubList
Source files

Definition at line 41 of file IndirectListsFwd.H.

Constructor & Destructor Documentation

◆ IndirectSubList() [1/2]

IndirectSubList ( const UList< T > &  values)
inlineexplicit

Definition at line 67 of file IndirectSubList.H.

References IndirectSubList::addressing().

Here is the call graph for this function:

◆ IndirectSubList() [2/2]

IndirectSubList ( const UList< T > &  values,
const labelRange addr 
)
inline

Definition at line 79 of file IndirectSubList.H.

Member Function Documentation

◆ addressing() [1/2]

const Addr& addressing
inlinenoexcept

Definition at line 70 of file IndirectListAddressing.H.

Referenced by IndirectSubList::IndirectSubList().

Here is the caller graph for this function:

◆ addressing() [2/2]

Addr& addressing
inlinenoexcept

Definition at line 76 of file IndirectListAddressing.H.


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