|
|


Public Types | |
| typedef SubList< T > | subList |
| Declare type of subList. | |
Public Member Functions | |
| List () | |
| Null constructor. | |
| List (const label) | |
| Construct with given size. | |
| List (const label, const T &) | |
| Construct with given size and value for all elements. | |
| List (const List< T > &) | |
| Copy constructor. | |
| List (List< T > &, bool reUse) | |
| Construct as copy or re-use as specified. | |
| template<class InputIterator> | |
| List (InputIterator first, InputIterator last) | |
| Construct given size and start and end iterators. | |
| template<label Size> | |
| List (const FixedList< T, Size > &) | |
| Construct as copy of FixedList<T, Size>. | |
| List (const PtrList< T > &) | |
| Construct as copy of PtrList<T>. | |
| List (const SLList< T > &) | |
| Construct as copy of SLList<T>. | |
| List (const IndirectList< T > &) | |
| Construct as copy of IndirectList<T>. | |
| List (Istream &) | |
| Construct from Istream. | |
| autoPtr< List< T > > | clone () const |
| Clone. | |
| ~List () | |
| void | setSize (const label) |
| Reset size of List. | |
| void | setSize (const label, const T &) |
| Reset size of List and value for new elements. | |
| void | clear () |
| Clear the list, i.e. set size to zero. | |
| void | transfer (List< T > &) |
| Transfer the contents of the argument List into this List. | |
| T & | newElmt (const label) |
| Return subscript-checked element of UList. | |
| void | operator= (const UList< T > &) |
| Assignment from UList operator. Takes linear time. | |
| void | operator= (const List< T > &) |
| Assignment operator. Takes linear time. | |
| void | operator= (const SLList< T > &) |
| Assignment from SLList operator. Takes linear time. | |
| void | operator= (const IndirectList< T > &) |
| Assignment from IndirectList operator. Takes linear time. | |
| void | operator= (const T &) |
| Assignment of all entries to the given value. | |
Static Public Member Functions | |
| List< T > & | null () |
| Return a null List. | |
Friends | |
| Istream & | operator>> (Istream &, List< T > &) |
| Read List from Istream, discarding contents of existing List. | |
|
|
Declare type of subList.
|
|
|
Null constructor.
|
|
|
Construct with given size.
|
|
||||||||||||
|
Construct with given size and value for all elements.
|
|
|
Copy constructor.
|
|
||||||||||||
|
Construct as copy or re-use as specified.
|
|
||||||||||||
|
Construct given size and start and end iterators.
|
|
|
Construct as copy of FixedList<T, Size>.
|
|
|
Construct as copy of PtrList<T>.
|
|
|
Construct as copy of SLList<T>.
|
|
|
Construct as copy of IndirectList<T>.
|
|
|
Construct from Istream.
|
|
|
|
|
|
Clear the list, i.e. set size to zero.
Reimplemented in DynamicList, PackedList, DynamicList< procPointList >, DynamicList< polyAddCell >, DynamicList< label >, DynamicList< polyModifyPoint >, DynamicList< point >, DynamicList< polyAddPoint >, DynamicList< face >, DynamicList< word >, DynamicList< polyModifyCell >, DynamicList< polyModifyFace >, DynamicList< polyAddFace >, and PackedList< 1 >. |
|
Here is the call graph for this function:

|
|
Return subscript-checked element of UList.
|
|
|
|
|
Assignment from IndirectList operator. Takes linear time.
|
|
|
Assignment from SLList operator. Takes linear time.
|
|
|
Assignment operator. Takes linear time.
Reimplemented in IOList, IOList< label >, and IOList< face >. |
|
|
Assignment from UList operator. Takes linear time.
Reimplemented in Field, fixedValueFvPatchField, mixedFvPatchField, slicedFvPatchField, partialSlipFvPatchField, fvPatchField, fixedGradientFaPatchField, fixedValueFaPatchField, fixedValueOutflowFaPatchField, faPatchField, Field< tensor >, Field< scalar >, Field< label >, Field< vector >, Field< complexVector >, and Field< T >. |
|
||||||||||||
|
Reset size of List and value for new elements.
|
|
|
|
Transfer the contents of the argument List into this List. and annull the argument list. |
|
||||||||||||
|
Read List from Istream, discarding contents of existing List.
|