WSF
usmtf::TaskUnit Class Reference

#include <TaskUnit.hpp>

Inheritance diagram for usmtf::TaskUnit:
Collaboration diagram for usmtf::TaskUnit:

Public Member Functions

 TaskUnit (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
 TaskUnit (const TaskUnit &)=delete
const FreeTextGetUnitDesignator () const noexcept
const NamedLocationGetLocation () const noexcept
const std::string & GetComments () const noexcept
Public Member Functions inherited from usmtf::Set
 Set (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
virtual ~Set ()=default
const std::string & GetType () const noexcept
 Return the Set Identifiers/Set Text Format of the set instance.
bool IsEmpty () const noexcept
int GetFieldCount () const noexcept
const FieldGetField (size_t aIndex) const
 Returns a field at a index position in the Set.
const std::string & GetFieldContent (size_t aIndex) const
 Returns the Contents of a field at specified index.
const std::string GetReconstructedSet () const noexcept
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

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
Protected Attributes inherited from usmtf::Set
std::string mSetTextFormat
std::vector< FieldmFields

Detailed Description

THE TASKUNIT SET INDICATES THE UNIT THAT IS TASKED TO SUPPORT A MISSON.

USMTF Example: TASKUNIT/63 RS/ICAO:KXXQ/00254-00310/DET 1 FOL//

Standard Excerpt: TASKUNIT/ /......................./......................................../...............// 1 TASKED UNIT DESIGNATOR 2 TASKED UNIT LOCATION 3 LINK 16 UNIT ADDRESS BLOCK ASSIGNMENT 4 COMMENTS M [1-30 ABNS] O [1/20 ABNS] O [11 NS] O [1-68 ABNS]

Detailed Document: TASKUNIT.UF.RTF

Constructor & Destructor Documentation

◆ TaskUnit() [1/2]

usmtf::TaskUnit::TaskUnit ( const std::string & aSTF,
const std::vector< Field > & aFields )
noexcept

◆ TaskUnit() [2/2]

usmtf::TaskUnit::TaskUnit ( const TaskUnit & )
delete

Member Function Documentation

◆ GetComments()

const std::string & usmtf::TaskUnit::GetComments ( ) const
noexcept

Referenced by TaskUnit().

◆ GetLocation()

const NamedLocation & usmtf::TaskUnit::GetLocation ( ) const
noexcept

Referenced by TaskUnit().

◆ GetUnitDesignator()

const FreeText & usmtf::TaskUnit::GetUnitDesignator ( ) const
noexcept

Referenced by TaskUnit().


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