casa
5.7.0-16
|
A drop-in replacement for Block<T*>
.
More...
#include <WProjectFT.h>
Public Member Functions | |
PtrBlock () | |
PtrBlock (size_t n) | |
PtrBlock (size_t n, T val) | |
PtrBlock (size_t n, T *&storagePointer, Bool takeOverStorage=True) | |
PtrBlock (const PtrBlock< T > &other) | |
PtrBlock< T > & | operator= (const PtrBlock< T > &other) |
~PtrBlock () | |
void | resize (size_t n, Bool forceSmaller, Bool copyElements) |
void | resize (size_t n) |
void | resize (size_t n, Bool forceSmaller) |
void | remove (size_t whichOne, Bool forceSmaller) |
void | remove (size_t whichOne) |
void | replaceStorage (size_t n, T *&storagePointer, Bool takeOverStorage=True) |
T & | operator[] (size_t index) |
const T & | operator[] (size_t index) const |
void | set (const T &val) |
PtrBlock< T > & | operator= (const T &val) |
T * | storage () |
const T * | storage () const |
size_t | nelements () const |
size_t | size () const |
Bool | empty () const |
Private Attributes | |
Block< void * > | block_p |
A drop-in replacement for Block<T*>
.
Public interface
PtrBlock<T*>
has exactly the same interface as Block<T*>
and should be used in preference to the latter. It's purpose is solely to reduce the number of template instantiations.
Definition at line 54 of file WProjectFT.h.
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 841 of file Block.h.
Referenced by VLAFilterSet::nelements().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 825 of file Block.h.
Referenced by casa::SerialTransport::SerialTransport().
|
inline |
|
inline |
|
inline |
Definition at line 837 of file Block.h.
Referenced by casacore::PtrBlock< casacore::RecordDesc * >::operator=().
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 845 of file Block.h.
Referenced by casacore::PtrBlock< casacore::RecordDesc * >::empty(), casacore::PtrBlock< casacore::RecordDesc * >::nelements(), casacore::PtrBlock< casacore::RecordDesc * >::operator=(), casacore::PtrBlock< casacore::RecordDesc * >::operator[](), casacore::PtrBlock< casacore::RecordDesc * >::remove(), casacore::PtrBlock< casacore::RecordDesc * >::replaceStorage(), casacore::PtrBlock< casacore::RecordDesc * >::resize(), casacore::PtrBlock< casacore::RecordDesc * >::set(), casacore::PtrBlock< casacore::RecordDesc * >::size(), and casacore::PtrBlock< casacore::RecordDesc * >::storage().