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

Public Member Functions | |
PtrVector_vectorPt (std::vector< 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 | |
std::vector< T * > & | v |
Detailed Description
template<typename T>
struct helib::PtrVector_vectorPt< T >
An implementation of PtrVector using vector<T*>
Constructor & Destructor Documentation
◆ PtrVector_vectorPt()
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 >
std::vector<T*>& helib::PtrVector_vectorPt< T >::v |