WSF
wsf::event::Comment Class Reference

#include <WsfEventResults.hpp>

Inheritance diagram for wsf::event::Comment:
Collaboration diagram for wsf::event::Comment:

Public Member Functions

 Comment (double aSimTime, WsfPlatform *aPlatformPtr, std::string aComment, Settings aSettings=Settings())
void Print (std::ostream &aStream) const override
void PrintCSV (std::ostream &aStream) const override
const WsfPlatformGetPlatform () const
const std::string & GetComment () const
Public Member Functions inherited from wsf::event::Result
 Result (double aSimTime, Settings aSettings=Settings{}, std::string aEventName="UNSET")
virtual void Print (std::ostream &aStream, Settings aSettings)
virtual void PrintCSV (std::ostream &aStream, Settings aSettings)
Public Member Functions inherited from wsf::event::ResultBase
 ResultBase (double aSimTime, std::string aEventName="UNSET")
 ResultBase (const ResultBase &)=default
ResultBaseoperator= (const ResultBase &)=default
virtual ~ResultBase ()=default
double GetSimTime () const
const std::string & GetName () const

Static Public Attributes

static constexpr const char * cNAME = "COMMENT"

Additional Inherited Members

Protected Attributes inherited from wsf::event::Result
Settings mSettings
Protected Attributes inherited from wsf::event::ResultBase
double mSimTime
std::string mEventName

Constructor & Destructor Documentation

◆ Comment()

wsf::event::Comment::Comment ( double aSimTime,
WsfPlatform * aPlatformPtr,
std::string aComment,
Settings aSettings = Settings() )
inline

Member Function Documentation

◆ GetComment()

const std::string & wsf::event::Comment::GetComment ( ) const
inline

◆ GetPlatform()

const WsfPlatform * wsf::event::Comment::GetPlatform ( ) const
inline

◆ Print()

void wsf::event::Comment::Print ( std::ostream & aStream) const
overridevirtual

◆ PrintCSV()

void wsf::event::Comment::PrintCSV ( std::ostream & aStream) const
overridevirtual

Member Data Documentation

◆ cNAME

const char* wsf::event::Comment::cNAME = "COMMENT"
staticconstexpr

Referenced by Comment().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved