Go to the documentation of this file.
62 template<
class T>
class PtrList;
110 class const_iterator;
116 inline constexpr
UPtrList() noexcept;
119 inline explicit
UPtrList(const label len);
149 inline label
size() const noexcept;
152 inline
bool empty() const noexcept;
158 inline const
T&
first() const;
164 inline const
T&
last() const;
168 inline
T*
get(const label i);
172 inline const
T*
get(const label i) const;
177 const
T*
set(const label i)
const {
return this->
get(i); }
187 inline void resize(
const label newLen);
208 inline T*
set(
const label i,
T* ptr);
303 const T*
const* ptr_;
395 #include "UPtrListI.H"
label size() const noexcept
const_iterator cbegin() const noexcept
reference operator()() const
void swap(UPtrList< T > &list)
Detail::PtrListDetail< T > ptrs_
iterator & operator++() noexcept
void setSize(const label n)
friend class const_iterator
void operator=(const UPtrList< T > &list)
void transfer(UPtrList< T > &list)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
void resize(const label newLen)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
reference operator()() const
void setAddressableSize(const label n) noexcept
iterator begin() noexcept
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
friend Ostream & operator(Ostream &os, const UPtrList< T > &list)
constexpr UPtrList() noexcept
void sortOrder(const labelUList &order, const bool testNull=true)
OBJstream os(runTime.globalPath()/outputName)
std::random_access_iterator_tag iterator_category
reference operator*() const
pointer operator->() const
reference operator[](difference_type n) const
const T * set(const label i) const
iterator(T **ptr) noexcept
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const T & operator[](const label i) const
A rudimentary list of pointers used for PtrList, UPtrList, etc. This class is considered implementati...
std::random_access_iterator_tag iterator_category
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void reorder(const labelUList &oldToNew, const bool testNull=true)
const T * operator()(const label i) const
const typedef T & const_reference
bool empty() const noexcept
const_iterator cend() const noexcept