WSF
usmtf::USMTF_Transformer Class Reference

Exists to Facilitate the contract for Polymorphic Script Block Exports From Set Segments. More...

#include <USMTF_Transformer.hpp>

Inheritance diagram for usmtf::USMTF_Transformer:
Collaboration diagram for usmtf::USMTF_Transformer:

Public Member Functions

 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 InputBlock GetInputBlock () const =0
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

Static Public Member Functions

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 Attributes

const Segment mSegment

Additional Inherited Members

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

Detailed Description

Exists to Facilitate the contract for Polymorphic Script Block Exports From Set Segments.

Constructor & Destructor Documentation

◆ USMTF_Transformer() [1/2]

usmtf::USMTF_Transformer::USMTF_Transformer ( )
default

◆ USMTF_Transformer() [2/2]

usmtf::USMTF_Transformer::USMTF_Transformer ( const Segment & aSegment)
inlineexplicit

References mSegment.

◆ ~USMTF_Transformer()

virtual usmtf::USMTF_Transformer::~USMTF_Transformer ( )
virtualdefault

Member Function Documentation

◆ ExtractSet()

◆ ReplaceSpaces()

const std::string usmtf::USMTF_Transformer::ReplaceSpaces ( const std::string & aTarget,
char aDesiredChar )
staticnoexcept

This is in transformer because thats where this is needed in the lib. Script Blocks cant have spaces in names.

Referenced by usmtf::AOrbitZone::GetInputBlock(), usmtf::OneTrackZone::GetInputBlock(), and usmtf::PolyarcZone::GetInputBlock().

Member Data Documentation

◆ mSegment

const Segment usmtf::USMTF_Transformer::mSegment
protected

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