|
WSF
|
#include <TaskCountry.hpp>


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 Field & | GetField (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< Field > | mFields |
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
|
noexcept |
References usmtf::ErrorManager::AddError(), usmtf::Set::GetFieldContent(), and usmtf::Set::Set().
Referenced by TaskCountry().
|
delete |
References GetCountry(), and TaskCountry().
|
noexcept |
Referenced by TaskCountry().