Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
Mask< scalar > Class Template Reference

#include <Stokhos_MP_Vector_MaskTraits.hpp>

Public Member Functions

 Mask ()
 
 Mask (bool a)
 
int getSize () const
 
bool operator> (double v)
 
bool operator< (double v)
 
bool operator>= (double v)
 
bool operator<= (double v)
 
bool operator== (double v)
 
bool operator!= (double v)
 
bool operator== (const Mask< scalar > &m2)
 
bool operator!= (const Mask< scalar > &m2)
 
Mask< scalar > operator&& (const Mask< scalar > &m2)
 
Mask< scalar > operator|| (const Mask< scalar > &m2)
 
Mask< scalar > operator&& (bool m2)
 
Mask< scalar > operator|| (bool m2)
 
Mask< scalar > operator+ (const Mask< scalar > &m2)
 
Mask< scalar > operator- (const Mask< scalar > &m2)
 
scalar operator* (const scalar &v)
 
bool operator[] (int i) const
 
bool & operator[] (int i)
 
Mask< scalar > operator! ()
 
 operator bool () const
 
 operator double () const
 

Private Attributes

bool data [size]
 

Static Private Attributes

static const int size = EnsembleTraits_m<scalar>::size
 

Detailed Description

template<typename scalar>
class Mask< scalar >

Definition at line 69 of file Stokhos_MP_Vector_MaskTraits.hpp.

Constructor & Destructor Documentation

template<typename scalar>
Mask< scalar >::Mask ( )
inline

Definition at line 76 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask< scalar >::Mask ( bool  a)
inline

Definition at line 81 of file Stokhos_MP_Vector_MaskTraits.hpp.

Member Function Documentation

template<typename scalar>
int Mask< scalar >::getSize ( ) const
inline

Definition at line 86 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator> ( double  v)
inline

Definition at line 88 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator< ( double  v)
inline

Definition at line 97 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator>= ( double  v)
inline

Definition at line 106 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator<= ( double  v)
inline

Definition at line 115 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator== ( double  v)
inline

Definition at line 124 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator!= ( double  v)
inline

Definition at line 133 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator== ( const Mask< scalar > &  m2)
inline

Definition at line 142 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator!= ( const Mask< scalar > &  m2)
inline

Definition at line 151 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator&& ( const Mask< scalar > &  m2)
inline

Definition at line 156 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator|| ( const Mask< scalar > &  m2)
inline

Definition at line 165 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator&& ( bool  m2)
inline

Definition at line 174 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator|| ( bool  m2)
inline

Definition at line 183 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator+ ( const Mask< scalar > &  m2)
inline

Definition at line 192 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator- ( const Mask< scalar > &  m2)
inline

Definition at line 201 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
scalar Mask< scalar >::operator* ( const scalar &  v)
inline

Definition at line 210 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::operator[] ( int  i) const
inline

Definition at line 220 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool& Mask< scalar >::operator[] ( int  i)
inline

Definition at line 225 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask<scalar> Mask< scalar >::operator! ( )
inline

Definition at line 230 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask< scalar >::operator bool ( ) const
inline

Definition at line 239 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
Mask< scalar >::operator double ( ) const
inline

Definition at line 244 of file Stokhos_MP_Vector_MaskTraits.hpp.

Member Data Documentation

template<typename scalar>
const int Mask< scalar >::size = EnsembleTraits_m<scalar>::size
staticprivate

Definition at line 72 of file Stokhos_MP_Vector_MaskTraits.hpp.

template<typename scalar>
bool Mask< scalar >::data[size]
private

Definition at line 73 of file Stokhos_MP_Vector_MaskTraits.hpp.


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