Mission Data File class. More...
#include <mdf.H>
Classes | |
| class | builder_t |
| class | speed_limit_t |
| Speed limit data. More... | |
Public Member Functions | |
| std::string const & | name () const |
| MDF name. | |
| std::string const & | rndf_name () const |
| RNDF name. | |
| std::string const & | format_version () const |
| MDF format version. | |
| std::string const & | creation_date () const |
| MDF creation date. | |
| unsigned | num_checkpoints () const |
| Number of checkpoints in mission. | |
| unsigned | checkpoint (unsigned i_) const |
| RNDF checkpoint ID's in mission order. | |
| unsigned | num_speed_limits () const |
| Number of speed limits. | |
| speed_limit_t const & | speed_limit (unsigned id_) const |
| RNDF segment/zone speed limit data. | |
Static Public Member Functions | |
| static mdf_t const * | load (std::string const &path_) |
| Load an MDF object from an MDF file. | |
Private Attributes | |
| std::string | m_name |
| MDF name. | |
| std::string | m_rndf_name |
| RNDF name. | |
| std::string | m_format_version |
| MDF format version. | |
| std::string | m_creation_date |
| MDF creation date. | |
| std::vector< unsigned > | m_checkpoint |
| RNDF checkpoint ID's in mission order. | |
| std::vector< speed_limit_t > | m_speed_limit |
| RNDF segment/zone speed limit data (indexed by ID - 1). | |
Mission Data File class.
| unsigned cajun::mdf_t::checkpoint | ( | unsigned | i_ | ) | const [inline] |
RNDF checkpoint ID's in mission order.
| i_ | Checkpoint index (0 to num_checkpoints() - 1) |
References m_checkpoint, and num_checkpoints().
| speed_limit_t const& cajun::mdf_t::speed_limit | ( | unsigned | id_ | ) | const [inline] |
RNDF segment/zone speed limit data.
| id_ | RNDF segment/zone id |
References m_speed_limit, and num_speed_limits().
1.6.1