WSF
usmtf::OneTrack Class Reference

#include <Onetrack.hpp>

Inheritance diagram for usmtf::OneTrack:
Collaboration diagram for usmtf::OneTrack:

Public Types

using Leg = std::tuple<size_t, LatLon, LatLon, TrackWidth, VerticalDimension>
using Legs = std::vector<Leg>
Public Types inherited from usmtf::TabularSet
using Series = std::vector<const Field*>
 Row Or Column.
using NSeries = std::vector<Series>
 Multiple Rows Or Columns.

Public Member Functions

 OneTrack (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
 OneTrack (const OneTrack &)=delete
const LegsGetLegs () const noexcept
Public Member Functions inherited from usmtf::TabularSet
 TabularSet (const std::string &aSTF, const std::vector< Field > &aFields, const size_t aHeaderOffset=1) 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::TabularSet
Series GetRow (const size_t aRowIndex) const
std::vector< std::string > GetRowContent (const size_t aRowIndex) const
Series GetColumn (const size_t aColumnIndex) const
std::vector< std::string > GetColumnContent (const size_t aColumnIndex) const
bool IsValidFieldCount () const noexcept
size_t GetRowCount () const noexcept
size_t GetColumnCount () const noexcept
const FieldGetField (const size_t aRow, const size_t aColumn) const
const std::string & GetFieldContent (const size_t aRow, const size_t aColumn) const
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::TabularSet
const size_t mHeaderOffset
Protected Attributes inherited from usmtf::Set
std::string mSetTextFormat
std::vector< FieldmFields

Detailed Description

The OneTrack Set is used to provide the information of 2 or more polygon volumes that define a shape similar to a corridor but with less edge accuracy. In other words, the polygon defined in the set legs are used without corner interpolation.

_____________               _____________

| | ___________ | | |_____________|| ||_____________| |___________|

USMTF Example: 1TRACK /LEG/LEG-BEGIN /LEG-END /LEG-WIDTH /MINALT-MAXALT / 01/152345N0505657E/192646N0531226E/30.5NML-60.9NMR/050AMSL-100AMSL / 02/192646N0531226E/231031N0545323E/60.5NML-60.5NMR/080AMSL-120AMSL / 03/231031N0545323E/280628N0562901E/60NML-80NMR /100AMSL-150AMSL

USMTF Standard Excerpt: 1TRACK /LEG /LEG-BEGIN /LEG-END /LEG-WIDTH /MINALT-MAXALT / / / / / // 1 TRACK LEG 2 BEGINNING POINT 3 ENDING POINT 4 TRACK WIDTH 5 VERTICAL DIMENSION

Detailed Document: 1TRACK.UF.RTF

Member Typedef Documentation

◆ Leg

◆ Legs

using usmtf::OneTrack::Legs = std::vector<Leg>

Constructor & Destructor Documentation

◆ OneTrack() [1/2]

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

◆ OneTrack() [2/2]

usmtf::OneTrack::OneTrack ( const OneTrack & )
delete

References GetLegs(), and OneTrack().

Member Function Documentation

◆ GetLegs()

const OneTrack::Legs & usmtf::OneTrack::GetLegs ( ) const
noexcept

Referenced by OneTrack().


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