TiledArray::expressions::ExprTraceTarget Class Reference

Documentation

Expression trace target.

Wrapper object that helps start the expression

Definition at line 84 of file expr_trace.h.

Public Member Functions

 ExprTraceTarget (std::ostream &os, const std::string &target_annotation)
 Constructor. More...
 
 ExprTraceTarget (const ExprTraceTarget &other)
 Copy constructor. More...
 
template<typename D >
std::ostream & operator<< (const Expr< D > &expr) const
 Start the expression trace. More...
 

Constructor & Destructor Documentation

◆ ExprTraceTarget() [1/2]

TiledArray::expressions::ExprTraceTarget::ExprTraceTarget ( std::ostream &  os,
const std::string &  target_annotation 
)
inline

Constructor.

Parameters
osOutput stream
target_annotationThe target annotation for an expression

Definition at line 93 of file expr_trace.h.

◆ ExprTraceTarget() [2/2]

TiledArray::expressions::ExprTraceTarget::ExprTraceTarget ( const ExprTraceTarget other)
inline

Copy constructor.

Parameters
otherThe object to be copied

Definition at line 99 of file expr_trace.h.

Member Function Documentation

◆ operator<<()

template<typename D >
std::ostream& TiledArray::expressions::ExprTraceTarget::operator<< ( const Expr< D > &  expr) const
inline

Start the expression trace.

Template Parameters
Dthe Expression type
Parameters
exprThe expression to be printed
Returns
The output stream

Definition at line 108 of file expr_trace.h.

Here is the call graph for this function:

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