MADNESS  0.10.1
Public Member Functions | Private Attributes | Friends | List of all members
madness::TensorException Class Reference

Tensor is intended to throw only TensorExceptions. More...

#include <tensorexcept.h>

Inheritance diagram for madness::TensorException:
Inheritance graph
[legend]
Collaboration diagram for madness::TensorException:
Collaboration graph
[legend]

Public Member Functions

 TensorException (const char *s, const char *a, int err, const BaseTensor *tp, int lin, const char *func, const char *file)
 
virtual ~TensorException () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

const char * assertion
 
const char * filename
 
const char * function
 
int line
 
const char * msg
 
BaseTensor t
 
const BaseTensortp
 
int value
 

Friends

std::ostream & operator<< (std::ostream &out, const TensorException &e)
 Print a TensorException to the stream (for human consumption) More...
 

Detailed Description

Tensor is intended to throw only TensorExceptions.

Constructor & Destructor Documentation

◆ TensorException()

madness::TensorException::TensorException ( const char *  s,
const char *  a,
int  err,
const BaseTensor tp,
int  lin,
const char *  func,
const char *  file 
)
inline

References t, and tp.

◆ ~TensorException()

virtual madness::TensorException::~TensorException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ what()

virtual const char* madness::TensorException::what ( ) const
throw (
)
inlinevirtual

References msg.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const TensorException e 
)
friend

Print a TensorException to the stream (for human consumption)

Member Data Documentation

◆ assertion

const char* madness::TensorException::assertion
private

◆ filename

const char* madness::TensorException::filename
private

◆ function

const char* madness::TensorException::function
private

◆ line

int madness::TensorException::line
private

◆ msg

const char* madness::TensorException::msg
private

Referenced by what().

◆ t

BaseTensor madness::TensorException::t
private

Referenced by TensorException().

◆ tp

const BaseTensor* madness::TensorException::tp
private

Referenced by TensorException().

◆ value

int madness::TensorException::value
private

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