54 template<
class T>
class tmp;
57 template<
class LListBase,
class T>
class LPtrList;
62 template<
class T>
class PtrList;
101 template<
class CloneArg>
151 inline bool set(
const label)
const;
void reorder(const labelUList &oldToNew)
Reorders elements. Ordering does not have to be done in.
void append(T *)
Append an element at the end of the list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void read(Istream &, const INew &inewt)
Read from Istream using given Istream constructor class.
Template class for non-intrusive linked PtrLists.
void operator=(const PtrList< T > &)
Assignment operator.
Istream & operator>>(Istream &, directionInfo &)
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A helper class when constructing from an Istream or dictionary.
void transfer(PtrList< T > &)
Transfer the contents of the argument PtrList into this PtrList.
void resize(const label)
Alias for setSize(const label)
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void shuffle(const labelUList &newToOld)
Reorders elements. Ordering does not have to be done in.
A class for managing temporary objects.
PtrList()
Null Constructor.