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

Public Member Functions | |
PtrVector_vectorT (std::vector< 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 |
![]() | |
virtual void | resize (long newSize, UNUSED const PtrVector *another=nullptr) |
virtual | ~PtrVector () |
bool | isSet (long i) const |
virtual const T * | ptr2nonNull () const |
Public Attributes | |
std::vector< T > & | v |
Detailed Description
template<typename T>
struct helib::PtrVector_vectorT< T >
An implementation of PtrVector using vector<T>
Constructor & Destructor Documentation
◆ PtrVector_vectorT()
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 >.
◆ resize()
template<typename T >
|
inlineoverride |
◆ size()
template<typename T >
|
inlineoverridevirtual |
Implements helib::PtrVector< T >.
Member Data Documentation
◆ v
template<typename T >
std::vector<T>& helib::PtrVector_vectorT< T >::v |