YAKL
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
yakl::c::LBnd Class Reference

Describes a single C-style loop bound (lower bound default of 0) More...

#include <YAKL_Bounds_c.h>

Public Member Functions

YAKL_INLINE LBnd ()
 defines an invalid / uninitialized loop bound More...
 
YAKL_INLINE LBnd (index_t u)
 Lower bound of zero, stride of one. More...
 
YAKL_INLINE LBnd (int l, int u)
 Lower and upper bounds specified, stride of one. More...
 
YAKL_INLINE LBnd (int l, int u, int s)
 Lower bound, upper bound, and stride all specified. More...
 
YAKL_INLINE LBnd (int u)
 Lower bound of zero, stride of one. More...
 
YAKL_INLINE bool valid () const
 Returns whether this loop bound is valid / initialized. More...
 

Public Attributes

int l
 lower bound More...
 
int s
 stride More...
 
int u
 upper bound More...
 

Static Public Attributes

static constexpr int default_lbound = 0
 

Detailed Description

Describes a single C-style loop bound (lower bound default of 0)

Constructor & Destructor Documentation

◆ LBnd() [1/5]

YAKL_INLINE yakl::c::LBnd::LBnd ( )
inline

defines an invalid / uninitialized loop bound

◆ LBnd() [2/5]

YAKL_INLINE yakl::c::LBnd::LBnd ( index_t  u)
inline

Lower bound of zero, stride of one.

◆ LBnd() [3/5]

YAKL_INLINE yakl::c::LBnd::LBnd ( int  u)
inline

Lower bound of zero, stride of one.

◆ LBnd() [4/5]

YAKL_INLINE yakl::c::LBnd::LBnd ( int  l,
int  u 
)
inline

Lower and upper bounds specified, stride of one.

◆ LBnd() [5/5]

YAKL_INLINE yakl::c::LBnd::LBnd ( int  l,
int  u,
int  s 
)
inline

Lower bound, upper bound, and stride all specified.

Member Function Documentation

◆ valid()

YAKL_INLINE bool yakl::c::LBnd::valid ( ) const
inline

Returns whether this loop bound is valid / initialized.

Member Data Documentation

◆ default_lbound

constexpr int yakl::c::LBnd::default_lbound = 0
staticconstexpr

◆ l

int yakl::c::LBnd::l

lower bound

◆ s

int yakl::c::LBnd::s

stride

◆ u

int yakl::c::LBnd::u

upper bound


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