helib::PtrVector_VecPt< T > Struct Template Reference
An implementation of PtrVector using Vec<T*> More...
#include <PtrVector.h>
Inheritance diagram for helib::PtrVector_VecPt< T >:

Public Member Functions | |
PtrVector_VecPt (NTL::Vec< T * > &_v) | |
T * | operator[] (long i) const override |
long | size () const override |
void | resize (long newSize, UNUSED const PtrVector< T > *another=nullptr) override |
![]() | |
virtual | ~PtrVector () |
bool | isSet (long i) const |
virtual long | numNonNull (long first=0, long last=LONG_MAX) const |
virtual const T * | ptr2nonNull () const |
Public Attributes | |
NTL::Vec< T * > & | v |
Detailed Description
template<typename T>
struct helib::PtrVector_VecPt< T >
An implementation of PtrVector using Vec<T*>
Constructor & Destructor Documentation
◆ PtrVector_VecPt()
template<typename T >
|
inline |
Member Function Documentation
◆ operator[]()
template<typename T >
|
inlineoverridevirtual |
Implements helib::PtrVector< T >.
◆ resize()
template<typename T >
|
inlineoverridevirtual |
Reimplemented from helib::PtrVector< T >.
◆ size()
template<typename T >
|
inlineoverridevirtual |
Implements helib::PtrVector< T >.
Member Data Documentation
◆ v
template<typename T >
NTL::Vec<T*>& helib::PtrVector_VecPt< T >::v |