CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::LogText Struct Referenceabstract

#include <Log.hh>

+ Inheritance diagram for CASM::LogText:

Detailed Description

Definition at line 19 of file Log.hh.

Public Member Functions

 LogText (std::string _text)
 
virtual void print (Log &log) const =0
 
std::unique_ptr< Cloneable > clone () const
 
std::unique_ptr< Cloneable > move ()
 

Public Attributes

std::string text
 

Private Member Functions

virtual Cloneable * _clone () const =0
 
virtual Cloneable * _move ()=0
 

Constructor & Destructor Documentation

◆ LogText()

CASM::LogText::LogText ( std::string  _text)
inlineexplicit

Definition at line 22 of file Log.hh.

Member Function Documentation

◆ _clone()

virtual Cloneable* notstd::Cloneable::_clone ( ) const
privatepure virtualinherited

◆ _move()

virtual Cloneable* notstd::Cloneable::_move ( )
privatepure virtualinherited

◆ clone()

std::unique_ptr<Cloneable> notstd::Cloneable::clone ( ) const
inlineinherited

Definition at line 92 of file cloneable_ptr.hh.

◆ move()

std::unique_ptr<Cloneable> notstd::Cloneable::move ( )
inlineinherited

Definition at line 95 of file cloneable_ptr.hh.

◆ print()

virtual void CASM::LogText::print ( Log log) const
pure virtual

Implemented in CASM::LogVerbatim, and CASM::LogParagraph.

Member Data Documentation

◆ text

std::string CASM::LogText::text

Definition at line 24 of file Log.hh.


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