Quantum++  v0.8.7-devel
C++11 quantum computing library
qpp::internal::IOManipMatrixView< Derived > Class Template Reference

#include <internal/classes/iomanip.h>

Inheritance diagram for qpp::internal::IOManipMatrixView< Derived >:
Collaboration diagram for qpp::internal::IOManipMatrixView< Derived >:

Public Member Functions

 IOManipMatrixView (const qpp::experimental::MatrixView< Derived > &A, double chop=qpp::chop)
 
- Public Member Functions inherited from qpp::IDisplay
 IDisplay ()=default
 Default constructor. More...
 
 IDisplay (const IDisplay &)=default
 Default copy constructor. More...
 
 IDisplay (IDisplay &&)=default
 Default move constructor. More...
 
IDisplayoperator= (const IDisplay &)=default
 Default copy assignment operator. More...
 
IDisplayoperator= (IDisplay &&)=default
 Default move assignment operator. More...
 
virtual ~IDisplay ()=default
 Default virtual destructor. More...
 

Private Member Functions

std::ostream & display (std::ostream &os) const override
 Must be overridden by all derived classes. More...
 
- Private Member Functions inherited from qpp::internal::_details::_Display_Impl
template<typename T >
std::ostream & _display_impl (const T &_A, std::ostream &_os, double _chop=qpp::chop) const
 

Private Attributes

const qpp::experimental::MatrixView< Derived > & _viewA
 
double _chop
 

Constructor & Destructor Documentation

template<typename Derived>
qpp::internal::IOManipMatrixView< Derived >::IOManipMatrixView ( const qpp::experimental::MatrixView< Derived > &  A,
double  chop = qpp::chop 
)
inlineexplicit

Member Function Documentation

template<typename Derived>
std::ostream& qpp::internal::IOManipMatrixView< Derived >::display ( std::ostream &  os) const
inlineoverrideprivatevirtual

Must be overridden by all derived classes.

The actual stream extraction processing is performed by the overriden member function in the derived class. This function is automatically invoked by friend inline std::ostream& operator<<(std::ostream& os, const IDisplay& rhs).

Implements qpp::IDisplay.

Member Data Documentation

template<typename Derived>
double qpp::internal::IOManipMatrixView< Derived >::_chop
private
template<typename Derived>
const qpp::experimental::MatrixView<Derived>& qpp::internal::IOManipMatrixView< Derived >::_viewA
private

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