WSF
usmtf::Ato Class Reference

#include <Ato.hpp>

Inheritance diagram for usmtf::Ato:
Collaboration diagram for usmtf::Ato:

Public Member Functions

 Ato (const std::string &aMTF, std::vector< std::unique_ptr< Set > > &&aSets) noexcept
const CommentGetHeader () const noexcept
 Comment section for useful data that will be places at the top of the export.
std::vector< const Platform * > GetPlatforms () const noexcept
 Platforms extracted from Message.
Public Member Functions inherited from usmtf::Message
 Message (const std::string &aMTF, std::vector< std::unique_ptr< Set > > aSets) noexcept
 Message (const Message &)=delete
Messageoperator= (const Message &)=delete
virtual ~Message ()=default
const std::string & GetType () const noexcept
 Get the Type of the Message.
const SetGetSet (Segment::SetPosition aSetIndex) const
 Retrieve a Set at a given index.
Segment::SetLocations GetSets (const std::string &aSTF) const noexcept
 Get all Sets that match the given set type.
Segment::SetLocations GetSets (const std::vector< std::string > &aSTF) const noexcept
 Get all Sets that match any of the given set type.
Segment GetSegment (const Segment::SetPosition &startPosition, const Segment::SetPosition &stopPosition) const
 Retrieve a grouping of sets by given start and end positions.
std::vector< SegmentGetSegments (const std::string &aSTF) const
size_t GetNumberOfSets () const noexcept
 Number of sets in the Message.
bool IsEmpty () const noexcept
 Tells you if the Message doesn't contain Sets.
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::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

Protected Member Functions inherited from usmtf::Message
bool IsSetPositionOutOfBounds (const Segment::SetPosition &aPos) const noexcept
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::Message
const std::string mMessageTextFormat
std::vector< std::unique_ptr< Set > > mSets

Detailed Description

PURPOSE: THE ATO IS USED TO TASK AIR MISSIONS, ASSIGN CROSS-FORCE TASKING, AND INTRASERVICE TASKING. GENERAL INSTRUCTIONS: THE ORIGINAL ATO WILL BE GIVEN A UNIQUE IDENTIFICATION IN FIELD 3 OF THE MSGID SET FOR THE SPECIFIED TIME FRAME (TIMEFRAM). CHANGES TO THE ORIGINAL ATO WILL NORMALLY BE ISSUED WITH A SUBSEQUENT ATO MESSAGE IDENTIFIED AS A CHANGE (CHG) IN FIELD 5 OF THE MSGID SET. FURTHER CHANGES WILL BE SEQUENTIALLY NUMBERED.

Constructor & Destructor Documentation

◆ Ato()

usmtf::Ato::Ato ( const std::string & aMTF,
std::vector< std::unique_ptr< Set > > && aSets )
noexcept

Member Function Documentation

◆ GetHeader()

const Comment * usmtf::Ato::GetHeader ( ) const
noexcept

Comment section for useful data that will be places at the top of the export.

Referenced by usmtf::ExportAto().

◆ GetPlatforms()

std::vector< const Platform * > usmtf::Ato::GetPlatforms ( ) const
noexcept

Platforms extracted from Message.

Referenced by usmtf::ExportAto().


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