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

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