TiledArray::expressions::BinaryExpr< Derived > Class Template Reference

Documentation

template<typename Derived>
class TiledArray::expressions::BinaryExpr< Derived >

Binary expression object.

Template Parameters
DerivedThe derived class type

Definition at line 39 of file binary_expr.h.

Public Types

typedef BinaryExpr< Derived > BinaryExpr_
 This class type. More...
 
typedef ExprTrait< Derived >::left_type left_type
 The left-hand expression type. More...
 
typedef ExprTrait< Derived >::right_type right_type
 The right-hand expression type. More...
 

Public Member Functions

 BinaryExpr (const BinaryExpr_ &)=default
 
 BinaryExpr (BinaryExpr_ &&)=default
 
 ~BinaryExpr ()=default
 
BinaryExpr_operator= (const BinaryExpr_ &)=delete
 
BinaryExpr_operator= (BinaryExpr_ &&)=delete
 
 BinaryExpr (const left_type &left, const right_type &right)
 Binary expression constructor. More...
 
const left_typeleft () const
 Left-hand expression argument accessor. More...
 
const right_typeright () const
 Right-hand expression argument accessor. More...
 

Member Typedef Documentation

◆ BinaryExpr_

template<typename Derived >
typedef BinaryExpr<Derived> TiledArray::expressions::BinaryExpr< Derived >::BinaryExpr_

This class type.

Definition at line 41 of file binary_expr.h.

◆ left_type

template<typename Derived >
typedef ExprTrait<Derived>::left_type TiledArray::expressions::BinaryExpr< Derived >::left_type

The left-hand expression type.

Definition at line 43 of file binary_expr.h.

◆ right_type

template<typename Derived >
typedef ExprTrait<Derived>::right_type TiledArray::expressions::BinaryExpr< Derived >::right_type

The right-hand expression type.

Definition at line 45 of file binary_expr.h.

Constructor & Destructor Documentation

◆ BinaryExpr() [1/3]

template<typename Derived >
TiledArray::expressions::BinaryExpr< Derived >::BinaryExpr ( const BinaryExpr_ )
default

◆ BinaryExpr() [2/3]

template<typename Derived >
TiledArray::expressions::BinaryExpr< Derived >::BinaryExpr ( BinaryExpr_ &&  )
default

◆ ~BinaryExpr()

template<typename Derived >
TiledArray::expressions::BinaryExpr< Derived >::~BinaryExpr ( )
default

◆ BinaryExpr() [3/3]

template<typename Derived >
TiledArray::expressions::BinaryExpr< Derived >::BinaryExpr ( const left_type left,
const right_type right 
)
inline

Binary expression constructor.

Definition at line 60 of file binary_expr.h.

Member Function Documentation

◆ left()

template<typename Derived >
const left_type& TiledArray::expressions::BinaryExpr< Derived >::left ( ) const
inline

Left-hand expression argument accessor.

Returns
A const reference to the left-hand expression object

Definition at line 66 of file binary_expr.h.

Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename Derived >
BinaryExpr_& TiledArray::expressions::BinaryExpr< Derived >::operator= ( BinaryExpr_ &&  )
delete

◆ operator=() [2/2]

template<typename Derived >
BinaryExpr_& TiledArray::expressions::BinaryExpr< Derived >::operator= ( const BinaryExpr_ )
delete

◆ right()

template<typename Derived >
const right_type& TiledArray::expressions::BinaryExpr< Derived >::right ( ) const
inline

Right-hand expression argument accessor.

Returns
A const reference to the right-hand expression object

Definition at line 71 of file binary_expr.h.

Here is the caller graph for this function:

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