STK++ 0.9.13
STK::hidden::CheckShift< Derived, Arrays::point_ > Struct Template Reference

#include <STK_AssignSelector.h>

Static Public Member Functions

static bool isAllowed (Derived const &array, Range const &I, Range const &J)
 
static bool resize (Derived const &array, Range const &I)
 
static bool shift (Derived const &array, int begin)
 

Detailed Description

template<class Derived>
struct STK::hidden::CheckShift< Derived, Arrays::point_ >

Definition at line 165 of file STK_AssignSelector.h.

Member Function Documentation

◆ isAllowed()

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::point_ >::isAllowed ( Derived const array,
Range const I,
Range const J 
)
inlinestatic

Definition at line 168 of file STK_AssignSelector.h.

169 { return (I.size() == 1);}

◆ resize()

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::point_ >::resize ( Derived const array,
Range const I 
)
inlinestatic

Definition at line 170 of file STK_AssignSelector.h.

171 { return (array.range() != I);}

◆ shift()

template<class Derived >
static bool STK::hidden::CheckShift< Derived, Arrays::point_ >::shift ( Derived const array,
int  begin 
)
inlinestatic

Definition at line 172 of file STK_AssignSelector.h.

173 { return (array.begin() != begin);}

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