ITK  6.0.0
Insight Toolkit
Public Member Functions | List of all members
itk::VariableLengthVector< TValue >::DumpOldValues Struct Reference

#include <itkVariableLengthVector.h>

Detailed Description

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

VariableLengthVector Invariability Policy: Never keep old values. This policy, when used from VariableLengthVector::SetSize(), is a no-op. It won't try to copy previous values from the previous internal buffer to the new one.

Precondition
This policy is only meant to be executed in case of reallocation, i.e. oldBuffer and newBuffer are expected to differ (unchecked).

This behaviour particularly fits VariableLengthVector::operator=()

See also
itk::VariableLengthVector::SetSize
KeepValuesRootPolicy
DumpOldValues

Definition at line 300 of file itkVariableLengthVector.h.

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

Public Member Functions

template<typename TValue2 >
void operator() (unsigned int, unsigned int, TValue2 *, TValue2 *) const
 

Member Function Documentation

◆ operator()()

template<typename TValue>
template<typename TValue2 >
void itk::VariableLengthVector< TValue >::DumpOldValues::operator() ( unsigned int  ,
unsigned int  ,
TValue2 *  ,
TValue2 *   
) const
inline

Definition at line 304 of file itkVariableLengthVector.h.


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