WSF
usmtf::TaskCountry Class Reference

#include <TaskCountry.hpp>

Inheritance diagram for usmtf::TaskCountry:
Collaboration diagram for usmtf::TaskCountry:

Public Member Functions

 TaskCountry (const std::string &aSTF, const std::vector< Field > &aFields) noexcept
 TaskCountry (const TaskCountry &)=delete
const std::string & GetCountry () 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 TSKCNTRY Set is used to represent a country in the world. At the moment, it does not verify this according to table 59A (the reference table for acceptable 2 letter code) of the usmtf standard because its used to just name a side in a scenario. This can be added though.

USMTF Example: TSKCNTRY/PS//

Standard Excerpt: TSKCNTRY/ // 1 COUNTRY OF THE WORLD

Detailed Document: TSKCNTRY.UF.RTF

Constructor & Destructor Documentation

◆ TaskCountry() [1/2]

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

◆ TaskCountry() [2/2]

usmtf::TaskCountry::TaskCountry ( const TaskCountry & )
delete

References GetCountry(), and TaskCountry().

Member Function Documentation

◆ GetCountry()

const std::string & usmtf::TaskCountry::GetCountry ( ) const
noexcept

Referenced by TaskCountry().


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