DGtal 2.0.0
|
#include <DGtal/math/MPolynomial.h>
Public Types | |
typedef TAlloc | Alloc |
typedef std::allocator_traits< Alloc >::pointer | TPointer |
typedef std::vector< TPointer, typenamestd::allocator_traits< Alloc >::templaterebind_alloc< TPointer > >::size_type | Size |
Public Member Functions | |
IVector (const Alloc &allocator=Alloc()) | |
IVector (Size aSize, const Alloc &allocator=Alloc()) | |
IVector (Size aSize, const T &entry, const Alloc &allocator=Alloc()) | |
IVector (const IVector &v) | |
~IVector () | |
IVector & | operator= (const IVector &v) |
Size | size () const |
void | resize (Size aSize, const T &entry=T()) |
const T & | operator[] (Size i) const |
T & | operator[] (Size i) |
const T & | back () const |
T & | back () |
void | swap (IVector &v) |
Alloc | get_allocator () const |
Alloc | getAllocator () const |
Private Member Functions | |
void | create (Size begin, Size end, const typename Alloc::value_type &entry) |
void | free (Size begin, Size end) |
template<class A> | |
void | copy_from (const std::vector< TPointer, A > &source) |
Private Attributes | |
Alloc | myAllocator |
std::vector< TPointer, typename std::allocator_traits< Alloc >::template rebind_alloc< TPointer > > | myVec |
Specialization that is using std::vector<T*>, but behaving like std::vector<T>.
Definition at line 805 of file MPolynomial.h.
typedef TAlloc DGtal::IVector< T, TAlloc, true >::Alloc |
Definition at line 808 of file MPolynomial.h.
typedef std::vector<TPointer,typenamestd::allocator_traits<Alloc>::templaterebind_alloc<TPointer>>::size_type DGtal::IVector< T, TAlloc, true >::Size |
Definition at line 810 of file MPolynomial.h.
typedef std::allocator_traits<Alloc>::pointer DGtal::IVector< T, TAlloc, true >::TPointer |
Definition at line 809 of file MPolynomial.h.
|
inline |
Definition at line 847 of file MPolynomial.h.
References myAllocator, and myVec.
Referenced by IVector(), operator=(), and swap().
|
inline |
Definition at line 851 of file MPolynomial.h.
References create(), myAllocator, and myVec.
|
inline |
Definition at line 857 of file MPolynomial.h.
References create(), myAllocator, and myVec.
|
inline |
Definition at line 863 of file MPolynomial.h.
References copy_from(), IVector(), DGtal::IVector< T, TAlloc, usePointers >::myVec, myVec, and size().
|
inline |
Definition at line 869 of file MPolynomial.h.
|
inline |
Definition at line 915 of file MPolynomial.h.
References myVec.
|
inline |
Definition at line 910 of file MPolynomial.h.
References myVec.
|
inlineprivate |
Definition at line 837 of file MPolynomial.h.
References myAllocator, and myVec.
Referenced by IVector(), and operator=().
|
inlineprivate |
Definition at line 818 of file MPolynomial.h.
References myAllocator, and myVec.
|
inlineprivate |
Definition at line 827 of file MPolynomial.h.
References myAllocator, and myVec.
Referenced by operator=(), resize(), and ~IVector().
|
inline |
Definition at line 925 of file MPolynomial.h.
References myVec.
|
inline |
Definition at line 930 of file MPolynomial.h.
References myVec.
|
inline |
Definition at line 874 of file MPolynomial.h.
References copy_from(), free(), IVector(), DGtal::IVector< T, TAlloc, usePointers >::myVec, myVec, and DGtal::IVector< T, TAlloc, usePointers >::size().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 920 of file MPolynomial.h.
References IVector(), DGtal::IVector< T, TAlloc, usePointers >::myVec, and myVec.
|
private |
Definition at line 813 of file MPolynomial.h.
Referenced by copy_from(), create(), free(), IVector(), IVector(), and IVector().
|
private |
Definition at line 814 of file MPolynomial.h.
Referenced by back(), back(), copy_from(), create(), free(), get_allocator(), getAllocator(), IVector(), IVector(), IVector(), IVector(), operator=(), operator[](), operator[](), resize(), size(), swap(), and ~IVector().