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

Describes a single Fortran-style loop bound (lower bound default of 1) More...

#include <YAKL_Bounds_fortran.h>

Public Member Functions

YAKL_INLINE LBnd ()
 defines an invalid / uninitialized loop bound 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 one, 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 = 1
 

Detailed Description

Describes a single Fortran-style loop bound (lower bound default of 1)

Constructor & Destructor Documentation

◆ LBnd() [1/4]

YAKL_INLINE yakl::fortran::LBnd::LBnd ( )
inline

defines an invalid / uninitialized loop bound

◆ LBnd() [2/4]

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

Lower bound of one, stride of one.

◆ LBnd() [3/4]

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

Lower and upper bounds specified, stride of one.

◆ LBnd() [4/4]

YAKL_INLINE yakl::fortran::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::fortran::LBnd::valid ( ) const
inline

Returns whether this loop bound is valid / initialized.

Member Data Documentation

◆ default_lbound

constexpr int yakl::fortran::LBnd::default_lbound = 1
staticconstexpr

◆ l

int yakl::fortran::LBnd::l

lower bound

◆ s

int yakl::fortran::LBnd::s

stride

◆ u

int yakl::fortran::LBnd::u

upper bound


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