46 #include <initializer_list>
67 template<
class T>
class List;
71 template<
class T,
unsigned Size>
class FixedList;
72 template<
class T>
class PtrList;
75 template<
class LListBase,
class T>
class LList;
99 inline void reAlloc(
const label s);
102 template<
class List2>
103 inline void copyList(
const List2&);
106 template<
class List2>
107 inline void allocCopyList(
const List2&);
110 template<
class InputIterator>
126 inline static const List<T>&
null();
160 template<
class InputIterator>
164 template<
unsigned Size>
180 List(std::initializer_list<T>);
237 template<
unsigned SizeInc,
unsigned SizeMult,
unsigned SizeDiv>
273 void operator=(std::initializer_list<T>);
Indexes into negList (negative index) or posList (zero or positive index).
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A 1D vector of objects of type <T> with a fixed size <Size>.
A List with indirect addressing.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Template class for non-intrusive linked lists.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
SubList< T > subList
Declare type of subList.
autoPtr< List< T > > clone() const
Clone.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void append(const T &)
Append an element at the end of the list.
label size() const
Return the number of elements in the UList.
void resize(const label)
Alias for setSize(const label)
T & newElmt(const label)
Return subscript-checked element of UList.
void shallowCopy(const UList< T > &)=delete
Disallow implicit shallowCopy.
void clear()
Clear the list, i.e. set size to zero.
void operator=(const UList< T > &)
Assignment to UList operator. Takes linear time.
void setSize(const label)
Reset size of List.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list that is sorted upon construction or when explicitly requested with the sort() method.
A List obtained as a section of another List.
A List with indirect addressing.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
T & first()
Return the first element of the list.
T & last()
Return the last element of the list.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
List< T > readList(Istream &)
Read a bracket-delimited list, or handle a single value as list of size 1.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Istream & operator>>(Istream &, pistonPointEdgeData &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)