45#ifndef Foam_PtrListDetail_H
46#define Foam_PtrListDetail_H
108 template<
class... Args>
113 inline void resize(
const label newLen);
137 void setSize(
const label,
const T*) =
delete;
A rudimentary list of pointers used for PtrList, UPtrList, etc. This class is considered implementati...
void setSize(const label)=delete
void setSize(const label, const T *)=delete
label findNull() const
Locate the first null entry, -1 if there are none (or empty list)
void operator=(const PtrListDetail< T > &list)
Copy assignment (shallow copies addresses)
void resize_nocopy(const label)=delete
void setNull()
Assign all pointers to nullptr, without deleting.
void free()
Delete the allocated entries, but retain the list size.
void setSize(const label, const T &)=delete
PtrListDetail< T > clone(Args &&... args) const
Make a copy by cloning each of the list pointers.
void checkNonNull() const
FatalError if any null exists in the list.
constexpr PtrListDetail() noexcept
Default construct.
label count() const
Return the count of non-nullptr entries.
void setAddressableSize(const label n) noexcept
Set addressed size to be inconsistent with allocated storage.
void resize(const label newLen)
Reset size of list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
autoPtr< List< T * > > clone() const
Clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
OBJstream os(runTime.globalPath()/outputName)
Foam::argList args(argc, argv)