helib::PtrVector_Singleton< T > Struct Template Reference
An implementation of PtrVector from a single T object. More...
#include <PtrVector.h>
Inheritance diagram for helib::PtrVector_Singleton< T >:
Public Member Functions | |
| PtrVector_Singleton (const T *_v) | |
| T * | operator[] (long i) const override |
| long | size () const override |
Public Member Functions inherited from helib::PtrVector< T > | |
| virtual void | resize (long newSize, UNUSED const PtrVector *another=nullptr) |
| 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 | |
| const T * | v |
Detailed Description
template<typename T>
struct helib::PtrVector_Singleton< T >
An implementation of PtrVector from a single T object.
Constructor & Destructor Documentation
◆ PtrVector_Singleton()
template<typename T >
|
inline |
Member Function Documentation
◆ operator[]()
template<typename T >
|
inlineoverridevirtual |
Implements helib::PtrVector< T >.
◆ size()
template<typename T >
|
inlineoverridevirtual |
Implements helib::PtrVector< T >.
Member Data Documentation
◆ v
template<typename T >
| const T* helib::PtrVector_Singleton< T >::v |
Public Member Functions inherited from
1.9.1