ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::VariableLengthVector< TValue >::NeverReallocate Struct Reference

#include <itkVariableLengthVector.h>

+ Inheritance diagram for itk::VariableLengthVector< TValue >::NeverReallocate:
+ Collaboration diagram for itk::VariableLengthVector< TValue >::NeverReallocate:

Detailed Description

template<typename TValue>
struct itk::VariableLengthVector< TValue >::NeverReallocate

VariableLengthVector Allocation Policy: Never reallocate memory. This policy, when used from VariableLengthVector::SetSize(), always implies that the previous internal buffer will be kept. Even if not enough memory was available.

The typical use case of this policy is to make sure a VariableLengthVector is not a proxy object.

Returns
false (always)
Precondition
oldSize == newSize, checked by assertion
See Also
itk::VariableLengthVector::SetSize
AlwaysReallocate
ShrinkToFit
DontShrinkToFit

Definition at line 154 of file itkVariableLengthVector.h.

Public Member Functions

bool operator() (unsigned int newSize, unsigned int oldSize) const
 

Member Function Documentation

template<typename TValue>
bool itk::VariableLengthVector< TValue >::NeverReallocate::operator() ( unsigned int  newSize,
unsigned int  oldSize 
) const
inline

Definition at line 156 of file itkVariableLengthVector.h.


The documentation for this struct was generated from the following file: