#include <Block.h>
Collaboration diagram for casa::PtrBlock< T >:

Block<T*>.
Part of API
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 353 of file Block.h.
Public Member Functions | |
| PtrBlock () | |
| PtrBlock (uInt n) | |
| PtrBlock (uInt n, T val) | |
| PtrBlock (uInt n, T *&storagePointer, Bool takeOverStorage=True) | |
| PtrBlock (const PtrBlock< T > &other) | |
| PtrBlock< T > & | operator= (const PtrBlock< T > &other) |
| ~PtrBlock () | |
| void | resize (uInt n, Bool forceSmaller, Bool copyElements) |
| void | resize (uInt n) |
| void | resize (uInt n, Bool forceSmaller) |
| void | remove (uInt whichOne, Bool forceSmaller) |
| void | remove (uInt whichOne) |
| void | replaceStorage (uInt n, T *&storagePointer, Bool takeOverStorage=True) |
| T & | operator[] (uInt index) |
| const T & | operator[] (uInt index) const |
| void | set (const T &val) |
| PtrBlock< T > & | operator= (const T &val) |
| T * | storage () |
| const T * | storage () const |
| uInt | nelements () const |
| uInt | size () const |
Private Attributes | |
| Block< void * > | block_p |
| casa::PtrBlock< T >::PtrBlock | ( | ) | [inline] |
| casa::PtrBlock< T >::PtrBlock | ( | uInt | n | ) | [inline, explicit] |
| casa::PtrBlock< T >::PtrBlock | ( | uInt | n, | |
| T | val | |||
| ) | [inline] |
| casa::PtrBlock< T >::PtrBlock | ( | uInt | n, | |
| T *& | storagePointer, | |||
| Bool | takeOverStorage = True | |||
| ) | [inline] |
| casa::PtrBlock< T >::PtrBlock | ( | const PtrBlock< T > & | other | ) | [inline] |
| casa::PtrBlock< T >::~PtrBlock | ( | ) | [inline] |
| PtrBlock<T>& casa::PtrBlock< T >::operator= | ( | const PtrBlock< T > & | other | ) | [inline] |
| void casa::PtrBlock< T >::resize | ( | uInt | n, | |
| Bool | forceSmaller, | |||
| Bool | copyElements | |||
| ) | [inline] |
Definition at line 364 of file Block.h.
Referenced by casa::TPGuiBinder::locatedata(), and casa::SerialTransport::SerialTransport().
| void casa::PtrBlock< T >::resize | ( | uInt | n | ) | [inline] |
| void casa::PtrBlock< T >::resize | ( | uInt | n, | |
| Bool | forceSmaller | |||
| ) | [inline] |
| void casa::PtrBlock< T >::remove | ( | uInt | whichOne, | |
| Bool | forceSmaller | |||
| ) | [inline] |
| void casa::PtrBlock< T >::remove | ( | uInt | whichOne | ) | [inline] |
| void casa::PtrBlock< T >::replaceStorage | ( | uInt | n, | |
| T *& | storagePointer, | |||
| Bool | takeOverStorage = True | |||
| ) | [inline] |
| T& casa::PtrBlock< T >::operator[] | ( | uInt | index | ) | [inline] |
| const T& casa::PtrBlock< T >::operator[] | ( | uInt | index | ) | const [inline] |
| void casa::PtrBlock< T >::set | ( | const T & | val | ) | [inline] |
Definition at line 376 of file Block.h.
Referenced by casa::PtrBlock< casa::Function< T > * >::operator=().
| PtrBlock<T>& casa::PtrBlock< T >::operator= | ( | const T & | val | ) | [inline] |
| T* casa::PtrBlock< T >::storage | ( | ) | [inline] |
| const T* casa::PtrBlock< T >::storage | ( | ) | const [inline] |
| uInt casa::PtrBlock< T >::nelements | ( | ) | const [inline] |
| uInt casa::PtrBlock< T >::size | ( | ) | const [inline] |
Block<void*> casa::PtrBlock< T >::block_p [private] |
Definition at line 383 of file Block.h.
Referenced by casa::PtrBlock< casa::Function< T > * >::nelements(), casa::PtrBlock< casa::Function< T > * >::operator=(), casa::PtrBlock< casa::Function< T > * >::operator[](), casa::PtrBlock< casa::Function< T > * >::remove(), casa::PtrBlock< casa::Function< T > * >::replaceStorage(), casa::PtrBlock< casa::Function< T > * >::resize(), casa::PtrBlock< casa::Function< T > * >::set(), casa::PtrBlock< casa::Function< T > * >::size(), and casa::PtrBlock< casa::Function< T > * >::storage().
1.5.1