VecCore 0.8.1
C++ Library for Portable SIMD Vectorization
Loading...
Searching...
No Matches
vecCore::WrappedBool Class Reference

#include <ScalarWrapper.h>

Public Member Functions

VECCORE_ATT_HOST_DEVICE WrappedBool ()
 
VECCORE_ATT_HOST_DEVICE WrappedBool (bool val)
 
VECCORE_ATT_HOST_DEVICE bool isFull () const
 
VECCORE_ATT_HOST_DEVICE bool isEmpty () const
 
VECCORE_ATT_HOST_DEVICE operator bool & () noexcept
 
VECCORE_ATT_HOST_DEVICE operator bool const & () const noexcept
 
VECCORE_ATT_HOST_DEVICE bool & operator[] (int index)
 
VECCORE_ATT_HOST_DEVICE bool operator[] (int index) const
 
VECCORE_ATT_HOST_DEVICE void store (bool *dest) const
 

Static Public Member Functions

static VECCORE_ATT_HOST_DEVICE constexpr size_t size ()
 

Static Public Attributes

static constexpr size_t Size = 1
 

Detailed Description

Definition at line 53 of file ScalarWrapper.h.

Constructor & Destructor Documentation

◆ WrappedBool() [1/2]

VECCORE_ATT_HOST_DEVICE vecCore::WrappedBool::WrappedBool ( )
inline

Definition at line 58 of file ScalarWrapper.h.

◆ WrappedBool() [2/2]

VECCORE_ATT_HOST_DEVICE vecCore::WrappedBool::WrappedBool ( bool  val)
inline

Definition at line 61 of file ScalarWrapper.h.

Member Function Documentation

◆ isEmpty()

VECCORE_ATT_HOST_DEVICE bool vecCore::WrappedBool::isEmpty ( ) const
inline

Definition at line 67 of file ScalarWrapper.h.

◆ isFull()

VECCORE_ATT_HOST_DEVICE bool vecCore::WrappedBool::isFull ( ) const
inline

Definition at line 64 of file ScalarWrapper.h.

◆ operator bool &()

VECCORE_ATT_HOST_DEVICE vecCore::WrappedBool::operator bool & ( )
inlinenoexcept

Definition at line 73 of file ScalarWrapper.h.

◆ operator bool const &()

VECCORE_ATT_HOST_DEVICE vecCore::WrappedBool::operator bool const & ( ) const
inlinenoexcept

Definition at line 76 of file ScalarWrapper.h.

◆ operator[]() [1/2]

VECCORE_ATT_HOST_DEVICE bool & vecCore::WrappedBool::operator[] ( int  index)
inline

Definition at line 79 of file ScalarWrapper.h.

◆ operator[]() [2/2]

VECCORE_ATT_HOST_DEVICE bool vecCore::WrappedBool::operator[] ( int  index) const
inline

Definition at line 87 of file ScalarWrapper.h.

◆ size()

static VECCORE_ATT_HOST_DEVICE constexpr size_t vecCore::WrappedBool::size ( )
inlinestaticconstexpr

Definition at line 70 of file ScalarWrapper.h.

◆ store()

VECCORE_ATT_HOST_DEVICE void vecCore::WrappedBool::store ( bool *  dest) const
inline

Definition at line 95 of file ScalarWrapper.h.

Member Data Documentation

◆ Size

constexpr size_t vecCore::WrappedBool::Size = 1
staticconstexpr

Definition at line 55 of file ScalarWrapper.h.


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