STK++ 0.9.13
STK::hidden::CheckShift< Derived, Arrays::vector_ > 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::vector_ >

Definition at line 152 of file STK_AssignSelector.h.

Member Function Documentation

◆ isAllowed()

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

Definition at line 155 of file STK_AssignSelector.h.

156 { return J.size() == 1;}

◆ resize()

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

Definition at line 157 of file STK_AssignSelector.h.

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

◆ shift()

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

Definition at line 159 of file STK_AssignSelector.h.

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

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