QDP++
QDP::OSubScalar< T > Class Template Reference

OScalar class narrowed to a subset. More...

#include <qdp_outersubtype.h>

Inheritance diagram for QDP::OSubScalar< T >:
QDP::QDPSubType< T, OScalar< T > >

Public Member Functions

 OSubScalar (OScalar< T > &a, const Subset &ss)
 OSubScalar (const OSubScalar &a)
 ~OSubScalar ()
void operator= (const typename WordType< T >::Type_t &rhs)
void operator= (const Zero &rhs)
template<class T1, class C1>
void operator= (const QDPType< T1, C1 > &rhs)
template<class T1, class C1>
void operator= (const QDPExpr< T1, C1 > &rhs)
void operator= (const OSubScalar &rhs)
T * getF ()
T * getF () const
const Subsetsubset () const
bool getOwnsMemory () const
bool getOwnsMemory ()
Public Member Functions inherited from QDP::QDPSubType< T, OScalar< T > >
 QDPSubType ()
 Default constructor.
 ~QDPSubType ()
 Destructor.
void assign (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator+= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator-= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator*= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator/= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator%= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator|= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator&= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator^= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator<<= (const typename WordType< OScalar< T > >::Type_t &rhs)
void operator>>= (const typename WordType< OScalar< T > >::Type_t &rhs)
bool getOwnsMemory ()
T * getF ()
const Subsetsubset () const

Detailed Description

template<class T>
class QDP::OSubScalar< T >

OScalar class narrowed to a subset.

Only used for lvalues

Definition at line 19 of file qdp_outersubtype.h.

Constructor & Destructor Documentation

◆ OSubScalar() [1/2]

template<class T>
QDP::OSubScalar< T >::OSubScalar ( OScalar< T > & a,
const Subset & ss )
inline

Definition at line 25 of file qdp_outersubtype.h.

◆ OSubScalar() [2/2]

template<class T>
QDP::OSubScalar< T >::OSubScalar ( const OSubScalar< T > & a)
inline

Definition at line 26 of file qdp_outersubtype.h.

◆ ~OSubScalar()

template<class T>
QDP::OSubScalar< T >::~OSubScalar ( )
inline

Definition at line 27 of file qdp_outersubtype.h.

Member Function Documentation

◆ getF() [1/2]

template<class T>
T * QDP::OSubScalar< T >::getF ( )
inline

Definition at line 73 of file qdp_outersubtype.h.

◆ getF() [2/2]

template<class T>
T * QDP::OSubScalar< T >::getF ( ) const
inline

Definition at line 74 of file qdp_outersubtype.h.

◆ getOwnsMemory() [1/2]

template<class T>
bool QDP::OSubScalar< T >::getOwnsMemory ( )
inline

Definition at line 77 of file qdp_outersubtype.h.

◆ getOwnsMemory() [2/2]

template<class T>
bool QDP::OSubScalar< T >::getOwnsMemory ( ) const
inline

Definition at line 76 of file qdp_outersubtype.h.

◆ operator=() [1/5]

template<class T>
void QDP::OSubScalar< T >::operator= ( const OSubScalar< T > & rhs)
inline

Definition at line 62 of file qdp_outersubtype.h.

◆ operator=() [2/5]

template<class T>
template<class T1, class C1>
void QDP::OSubScalar< T >::operator= ( const QDPExpr< T1, C1 > & rhs)
inline

Definition at line 55 of file qdp_outersubtype.h.

◆ operator=() [3/5]

template<class T>
template<class T1, class C1>
void QDP::OSubScalar< T >::operator= ( const QDPType< T1, C1 > & rhs)
inline

Definition at line 48 of file qdp_outersubtype.h.

◆ operator=() [4/5]

template<class T>
void QDP::OSubScalar< T >::operator= ( const typename WordType< T >::Type_t & rhs)
inline

Definition at line 35 of file qdp_outersubtype.h.

◆ operator=() [5/5]

template<class T>
void QDP::OSubScalar< T >::operator= ( const Zero & rhs)
inline

Definition at line 41 of file qdp_outersubtype.h.

◆ subset()

template<class T>
const Subset & QDP::OSubScalar< T >::subset ( ) const
inline

Definition at line 75 of file qdp_outersubtype.h.

Referenced by QDP::gaussian(), and QDP::gaussian().


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