WSF
usmtf::Comment Class Reference

#include <Comment.hpp>

Inheritance diagram for usmtf::Comment:
Collaboration diagram for usmtf::Comment:

Public Member Functions

 Comment (const Segment &aSegment) noexcept
InputBlock GetInputBlock () const override
Public Member Functions inherited from usmtf::USMTF_Transformer
 USMTF_Transformer ()=default
 USMTF_Transformer (const Segment &aSegment)
virtual ~USMTF_Transformer ()=default
template<typename SetType>
const SetType * ExtractSet (const std::string &aStf, const std::string &aLogicalConceptName, bool aSkipValidation=false, bool aIsOptional=false)
Public Member Functions inherited from usmtf::Validatable
bool IsValid () const noexcept
Public Member Functions inherited from usmtf::ErrorManager
virtual ~ErrorManager ()=default
bool HasErrors () const noexcept
void LogErrors (std::ostream &aOut) const noexcept
const std::vector< ValidationError > & GetErrors () const
Public Member Functions inherited from usmtf::Exportable
virtual ~Exportable ()=default
Public Member Functions inherited from usmtf::MacroEnabled
bool HasMacros () const noexcept
void AddMacro (const Macro &aMacro)
void AddMacros (const std::vector< Macro > &aMacros)
const MacroGetMacro (const std::string &aKey) const noexcept
const std::vector< MacroGetMacros () const noexcept

Additional Inherited Members

Static Public Member Functions inherited from usmtf::USMTF_Transformer
static const std::string ReplaceSpaces (const std::string &aTarget, char aDesiredChar) noexcept
 This is in transformer because thats where this is needed in the lib. Script Blocks cant have spaces in names.
Protected Member Functions inherited from usmtf::ErrorManager
void AddError (const ValidationError &aError) noexcept
void AddError (const std::string &aFailureReason, const std::string &aValueValidatied, const std::string &aOptionalSuggestion="") noexcept
void AddError (const std::string &aErrorMessage) noexcept
void AddErrors (const std::vector< ValidationError > &aErrors) noexcept
void ClearErrors () noexcept
Protected Attributes inherited from usmtf::USMTF_Transformer
const Segment mSegment

Detailed Description

A comment transformer takes a segment and makes a script block of the sets original form as nothing but AFSIM comments

Constructor & Destructor Documentation

◆ Comment()

usmtf::Comment::Comment ( const Segment & aSegment)
explicitnoexcept

Member Function Documentation

◆ GetInputBlock()

InputBlock usmtf::Comment::GetInputBlock ( ) const
overridevirtual

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