|
WSF
|
Useful conveniences for Sets that are Tabular in nature, see Onetrack.hpp for example. More...
#include <TabularSet.hpp>


Public Types | |
| using | Series = std::vector<const Field*> |
| Row Or Column. | |
| using | NSeries = std::vector<Series> |
| Multiple Rows Or Columns. | |
Public Member Functions | |
| 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 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 |
Protected Member Functions | |
| 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 Field & | GetField (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 | |
| const size_t | mHeaderOffset |
| Protected Attributes inherited from usmtf::Set | |
| std::string | mSetTextFormat |
| std::vector< Field > | mFields |
Useful conveniences for Sets that are Tabular in nature, see Onetrack.hpp for example.
| using usmtf::TabularSet::NSeries = std::vector<Series> |
Multiple Rows Or Columns.
| using usmtf::TabularSet::Series = std::vector<const Field*> |
Row Or Column.
|
noexcept |
References mHeaderOffset, and usmtf::Set::Set().
Referenced by usmtf::AerialRefueling::AerialRefueling(), usmtf::OneTrack::OneTrack(), and usmtf::PackageData::PackageData().
|
protected |
References GetField(), and GetRowCount().
|
protected |
References GetFieldContent(), and GetRowCount().
|
protectednoexcept |
References mHeaderOffset.
Referenced by GetRow(), and GetRowContent().
|
protected |
References usmtf::Set::GetField(), and mHeaderOffset.
Referenced by GetColumn(), and GetRow().
|
protected |
References usmtf::Set::GetFieldContent(), and mHeaderOffset.
Referenced by GetColumnContent(), and GetRowContent().
|
protected |
References GetColumnCount(), and GetField().
Referenced by usmtf::AerialRefueling::AerialRefueling(), and usmtf::PackageData::PackageData().
|
protected |
References GetColumnCount(), and GetFieldContent().
|
protectednoexcept |
References usmtf::Set::GetFieldCount(), IsValidFieldCount(), and mHeaderOffset.
Referenced by usmtf::AerialRefueling::AerialRefueling(), GetColumn(), GetColumnContent(), and usmtf::PackageData::PackageData().
|
protectednoexcept |
References usmtf::Set::GetFieldCount(), and mHeaderOffset.
Referenced by usmtf::AerialRefueling::AerialRefueling(), GetRowCount(), usmtf::OneTrack::OneTrack(), and usmtf::PackageData::PackageData().
|
protected |
Referenced by GetColumnCount(), GetField(), GetFieldContent(), GetRowCount(), IsValidFieldCount(), and TabularSet().