![]() |
|
Public Member Functions | |
PackedList () | |
Null constructor. | |
PackedList (const label size) | |
Construct with given size. Note: initializes intList to 0. | |
PackedList (const label size, const unsigned int val) | |
Construct with given size and value for all elements. | |
PackedList (const PackedList< nBits > &PList) | |
Copy constructor. | |
PackedList (const labelList &) | |
Construct from labelList. | |
autoPtr< PackedList< nBits > > | clone () const |
Clone. | |
void | setSize (const label) |
Reset size of List. | |
void | clear () |
Clear the list, i.e. set size to zero. | |
void | transfer (PackedList< nBits > &) |
Transfer the contents of the argument List into this List. | |
label | size () const |
Number of packed elements. | |
unsigned int | get (const label i) const |
Get value at index I. | |
void | set (const label i, const unsigned int val) |
Set value at index I. | |
unsigned int | operator[] (const label i) const |
Get value at index i. | |
::Foam::reference | operator[] (const label i) |
Set value at index i. Returns proxy which does actual operation. | |
void | operator= (const PackedList< nBits > &) |
Assignment operator. Takes linear time. | |
void | operator= (const unsigned int val) |
Assignment of all entries to the given value. | |
labelList | operator() () const |
Return as labelList. |
|
Null constructor.
Definition at line 91 of file PackedListI.H. References Foam::size(). |
Here is the call graph for this function:
|
Construct with given size. Note: initializes intList to 0.
Definition at line 100 of file PackedListI.H. References Foam::label. |
|
Construct with given size and value for all elements.
|
|
Copy constructor.
|
|
Construct from labelList.
|
|
Clear the list, i.e. set size to zero.
Reimplemented from List< unsigned int >. |
|
Clone.
Reimplemented from List< unsigned int >. |
|
Get value at index I.
Definition at line 118 of file PackedListI.H. References Foam::label. |
|
Return as labelList.
|
|
Assignment of all entries to the given value.
Definition at line 200 of file PackedListI.H. |
|
Assignment operator. Takes linear time.
|
|
Set value at index i. Returns proxy which does actual operation.
Definition at line 176 of file PackedListI.H. References Foam::label. |
|
Get value at index i.
Definition at line 139 of file PackedListI.H. References UList< unsigned int >::checkIndex(). |
Here is the call graph for this function:
|
Set value at index I.
Definition at line 147 of file PackedListI.H. References Foam::label. |
|
Reset size of List.
Reimplemented from List< unsigned int >. |
|
Number of packed elements.
Reimplemented from UList< unsigned int >. Definition at line 110 of file PackedListI.H. References UList< unsigned int >::checkIndex(). |
Here is the call graph for this function:
|
Transfer the contents of the argument List into this List. and annull the argument list. |