List Class Template ReferenceInheritance diagram for List:
[legend]Collaboration diagram for List:
[legend]List of all members.
Detailed Description
template<class T>
class Foam::List< T >
Definition at line 79 of file List.H.
Member Typedef Documentation
Declare type of subList.
Definition at line 138 of file List.H.
Constructor & Destructor Documentation
Null constructor.
Definition at line 40 of file ListI.H.
| List |
( |
const |
label |
) |
[explicit] |
Construct with given size.
| List |
( |
const |
label, |
|
|
const T & |
| |
|
) |
| | |
Construct with given size and value for all elements.
Construct as copy or re-use as specified.
| List |
( |
InputIterator |
first, |
|
|
InputIterator |
last | |
|
) |
| | |
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 as copy of BiIndirectList<T>.
Member Function Documentation
Clone.
Reimplemented in PackedList, primitiveEntry, DimensionedField, Field, fixedValuePointPatchField, mixedPointPatchField, valuePointPatchField, curve, cellShape, basicSymmetryFvPatchField, calculatedFvPatchField, coupledFvPatchField, defaultFvPatchField, directionMixedFvPatchField, fixedGradientFvPatchField, fixedValueFvPatchField, mixedFvPatchField, slicedFvPatchField, transformFvPatchField, zeroGradientFvPatchField, cyclicFvPatchField, emptyFvPatchField, processorFvPatchField, symmetryFvPatchField, wedgeFvPatchField, directMappedFixedValueFvPatchField, expDirectionMixedFvPatchField, fixedNormalSlipFvPatchField, freestreamFvPatchField, inletOutletFvPatchField, oscillatingFixedValueFvPatchField, outletInletFvPatchField, partialSlipFvPatchField, slipFvPatchField, timeVaryingMappedFixedValueFvPatchField, timeVaryingUniformFixedValueFvPatchField, turbulentInletFvPatchField, uniformFixedValueFvPatchField, waveTransmissiveFvPatchField, fvPatchField, calculatedFvsPatchField, coupledFvsPatchField, fixedValueFvsPatchField, slicedFvsPatchField, cyclicFvsPatchField, emptyFvsPatchField, processorFvsPatchField, symmetryFvsPatchField, wedgeFvsPatchField, fvsPatchField, cellMotionFvPatchField, angularOscillatingDisplacementPointPatchVectorField, angularOscillatingVelocityPointPatchVectorField, oscillatingDisplacementPointPatchVectorField, oscillatingVelocityPointPatchVectorField, PackedList< 1 >, PackedList< 2 >, DimensionedField< scalar, Foam::volMesh >, DimensionedField< scalar, Foam::pointMesh >, DimensionedField< Type, Foam::GeoMesh< MESH > >, DimensionedField< Type, Foam::surfaceMesh >, DimensionedField< Type, Foam::volMesh >, DimensionedField< Foam::Vectorector< scalar >, Foam::volMesh >, DimensionedField< Type >, DimensionedField< Foam::Vectorector< scalar >, Foam::pointMesh >, DimensionedField< TransferType::dataType, Foam::volMesh >, DimensionedField< Type, Foam::pointMesh >, Field< scalar >, Field< T >, Field< Foam::Vectorector< scalar > >, Field< TransferType::dataType >, fixedValuePointPatchField< Foam::Vectorector< scalar > >, and valuePointPatchField< Foam::Vectorector< scalar > >.
Definition at line 45 of file ListI.H.
References List::setSize().
Here is the call graph for this function:
| static List<T>& null |
( |
|
) |
[static] |
Return a null List.
Reimplemented from UList.
Reimplemented in DimensionedField, Field, GeometricField, DimensionedField< scalar, Foam::volMesh >, DimensionedField< scalar, Foam::pointMesh >, DimensionedField< Type, Foam::GeoMesh< MESH > >, DimensionedField< Type, Foam::surfaceMesh >, DimensionedField< Type, Foam::volMesh >, DimensionedField< Foam::Vectorector< scalar >, Foam::volMesh >, DimensionedField< Type >, DimensionedField< Foam::Vectorector< scalar >, Foam::pointMesh >, DimensionedField< TransferType::dataType, Foam::volMesh >, DimensionedField< Type, Foam::pointMesh >, Field< scalar >, Field< T >, Field< Foam::Vectorector< scalar > >, Field< TransferType::dataType >, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
| void setSize |
( |
const |
label |
) |
|
Reset size of List.
Reimplemented in DynamicList, PackedList, SortableList, DynamicList< long >, DynamicList< Foam::word >, DynamicList< Foam::refinementHistory::splitCell8 >, DynamicList< Foam::Vector >, DynamicList< Foam::Listist< procPoint > >, DynamicList< Foam::face >, PackedList< 1 >, and PackedList< 2 >.
Referenced by List::clone(), and cellShape::collapsedFaces().
Here is the caller graph for this function:
| void setSize |
( |
const |
label, |
|
|
const T & |
| |
|
) |
| | |
Clear the list, i.e. set size to zero.
Reimplemented in DynamicList, PackedList, DynamicList< long >, DynamicList< Foam::word >, DynamicList< Foam::refinementHistory::splitCell8 >, DynamicList< Foam::Vector >, DynamicList< Foam::Listist< procPoint > >, DynamicList< Foam::face >, PackedList< 1 >, and PackedList< 2 >.
| void transfer |
( |
List< T > & |
|
) |
|
| T & newElmt |
( |
const |
label |
) |
[inline] |
Return subscript-checked element of UList.
Definition at line 54 of file ListI.H.
| void operator= |
( |
const UList< T > & |
|
) |
|
Assignment from UList operator. Takes linear time.
Reimplemented in Field, fixedValueFvPatchField, mixedFvPatchField, slicedFvPatchField, fixedNormalSlipFvPatchField, partialSlipFvPatchField, fvPatchField, fixedValueFvsPatchField, slicedFvsPatchField, fvsPatchField, Field< scalar >, Field< T >, Field< Foam::Vectorector< scalar > >, and Field< TransferType::dataType >.
| void operator= |
( |
const List< T > & |
|
) |
|
| void operator= |
( |
const SLList< T > & |
|
) |
|
Assignment from SLList operator. Takes linear time.
| void operator= |
( |
const T & |
|
) |
[inline] |
Assignment of all entries to the given value.
Reimplemented from UList.
Reimplemented in DynamicList, Field, fixedValuePointPatchField, valuePointPatchField, directionMixedFvPatchField, fixedValueFvPatchField, mixedFvPatchField, slicedFvPatchField, expDirectionMixedFvPatchField, fixedNormalSlipFvPatchField, partialSlipFvPatchField, fvPatchField, fixedValueFvsPatchField, slicedFvsPatchField, fvsPatchField, DynamicList< long >, DynamicList< Foam::word >, DynamicList< Foam::refinementHistory::splitCell8 >, DynamicList< Foam::Listist< procPoint > >, DynamicList< Foam::face >, Field< scalar >, Field< T >, Field< Foam::Vectorector< scalar > >, Field< TransferType::dataType >, fixedValuePointPatchField< Foam::Vectorector< scalar > >, and valuePointPatchField< Foam::Vectorector< scalar > >.
Definition at line 68 of file ListI.H.
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
- src/OpenFOAM/containers/Lists/List/List.H
- src/OpenFOAM/containers/Lists/List/ListI.H
Copyright © 2000-2007 OpenCFD Ltd
|