Vanetza
Loading...
Searching...
No Matches
vanetza::geodesy::CountryReaderResult Class Reference

Public Member Functions

bool ok () const
bool failed () const
const std::string & message () const
std::size_t position () const
CountryReaderResult & add_offset (std::size_t offset)

Static Public Member Functions

static CountryReaderResult success (std::size_t pos)
static CountryReaderResult failure (std::string msg, std::size_t pos)

Private Member Functions

 CountryReaderResult (std::size_t pos)
 CountryReaderResult (std::string msg, std::size_t pos)

Private Attributes

bool m_success = true
std::size_t m_position = 0
std::string m_detail

Detailed Description

Definition at line 13 of file country_data_reader.hpp.

Constructor & Destructor Documentation

◆ CountryReaderResult() [1/2]

vanetza::geodesy::CountryReaderResult::CountryReaderResult ( std::size_t pos)
inlineprivate

Definition at line 38 of file country_data_reader.hpp.

◆ CountryReaderResult() [2/2]

vanetza::geodesy::CountryReaderResult::CountryReaderResult ( std::string msg,
std::size_t pos )
inlineprivate

Definition at line 39 of file country_data_reader.hpp.

Member Function Documentation

◆ add_offset()

CountryReaderResult & vanetza::geodesy::CountryReaderResult::add_offset ( std::size_t offset)
inline

Definition at line 31 of file country_data_reader.hpp.

◆ failed()

bool vanetza::geodesy::CountryReaderResult::failed ( ) const
inline

Definition at line 27 of file country_data_reader.hpp.

◆ failure()

CountryReaderResult vanetza::geodesy::CountryReaderResult::failure ( std::string msg,
std::size_t pos )
inlinestatic

Definition at line 21 of file country_data_reader.hpp.

◆ message()

const std::string & vanetza::geodesy::CountryReaderResult::message ( ) const
inline

Definition at line 28 of file country_data_reader.hpp.

◆ ok()

bool vanetza::geodesy::CountryReaderResult::ok ( ) const
inline

Definition at line 26 of file country_data_reader.hpp.

◆ position()

std::size_t vanetza::geodesy::CountryReaderResult::position ( ) const
inline

Definition at line 29 of file country_data_reader.hpp.

◆ success()

CountryReaderResult vanetza::geodesy::CountryReaderResult::success ( std::size_t pos)
inlinestatic

Definition at line 16 of file country_data_reader.hpp.

Member Data Documentation

◆ m_detail

std::string vanetza::geodesy::CountryReaderResult::m_detail
private

Definition at line 44 of file country_data_reader.hpp.

◆ m_position

std::size_t vanetza::geodesy::CountryReaderResult::m_position = 0
private

Definition at line 43 of file country_data_reader.hpp.

◆ m_success

bool vanetza::geodesy::CountryReaderResult::m_success = true
private

Definition at line 42 of file country_data_reader.hpp.


The documentation for this class was generated from the following file: