|
virtual std::string | toString () const =0 |
|
◆ 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::Property::AbstractProperty< SpinMatrix >, TBTK::Property::AbstractProperty< double >, TBTK::Property::AbstractProperty< std::complex< double > >, 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.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const Streamable & |
streamable |
|
) |
| |
|
friend |
Writes the Streamables toString()-representation to a stream.
- Parameters
-
stream | The stream to write to. |
streamable | The streamable to write. |
The documentation for this class was generated from the following file:
- /home/kristofer.bjornson/SecondQuantizationCom/TBTK/Lib/include/Utilities/TBTK/Streamable.h