TBTK
Need a break? Support the development by playing Polarity Puzzles
TBTK::Streamable Class Referenceabstract
Inheritance diagram for TBTK::Streamable:
TBTK::Property::AbstractProperty< double > TBTK::Property::AbstractProperty< SpinMatrix > TBTK::Property::AbstractProperty< std::complex< double > > TBTK::IndexTree TBTK::Model TBTK::Property::AbstractProperty< DataType > TBTK::Property::EnergyResolvedProperty< double > TBTK::Property::Density TBTK::Property::EigenValues TBTK::Property::EnergyResolvedProperty< SpinMatrix > TBTK::Property::Magnetization TBTK::Property::EnergyResolvedProperty< std::complex< double > > TBTK::Property::WaveFunctions TBTK::Models::SquareLattice TBTK::Property::EnergyResolvedProperty< DataType >

Public Member Functions

virtual std::string toString () const =0
 

Friends

std::ostream & operator<< (std::ostream &stream, const Streamable &streamable)
 

Member Function Documentation

◆ toString()

virtual std::string TBTK::Streamable::toString ( ) const
pure virtual

This function should be implemented by the overriding class and return a string with characteristic information about the class.

Returns
A string with characteristic information about the class.

Implemented in TBTK::Property::AbstractProperty< DataType >, TBTK::IndexTree, TBTK::Model, TBTK::Property::GreensFunction, TBTK::Property::LDOS, TBTK::Property::Density, TBTK::Property::DOS, TBTK::Property::SpinPolarizedLDOS, TBTK::Property::EigenValues, and TBTK::Property::WaveFunctions.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const Streamable streamable 
)
friend

Writes the Streamables toString()-representation to a stream.

Parameters
streamThe stream to write to.
streamableThe streamable to write.

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