Faker C++
Loading...
Searching...
No Matches
airline.h File Reference
#include <string>
#include <string_view>
#include "faker-cxx/export.h"
Include dependency graph for airline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  faker::airline::Airplane
 
struct  faker::airline::AirlineInfo
 
struct  faker::airline::Airport
 
struct  faker::airline::Range
 

Namespaces

namespace  faker
 
namespace  faker::airline
 

Enumerations

enum class  faker::airline::AircraftType { faker::airline::Regional , faker::airline::Narrowbody , faker::airline::Widebody }
 

Functions

FAKER_CXX_EXPORT std::string_view faker::airline::aircraftType ()
 Get a random aircraft type.
 
FAKER_CXX_EXPORT Airplane faker::airline::airplane ()
 Get a random airplane.
 
FAKER_CXX_EXPORT AirlineInfo faker::airline::airline ()
 Get a random airline.
 
FAKER_CXX_EXPORT Airport faker::airline::airport ()
 Get a random airport.
 
FAKER_CXX_EXPORT std::string faker::airline::seat (AircraftType aircraftType)
 Get a random seat by aircraft type.
 
FAKER_CXX_EXPORT std::string faker::airline::recordLocator (bool allowNumerics=false)
 Get a random record location.
 
FAKER_CXX_EXPORT std::string faker::airline::flightNumber (bool addLeadingZeros=false, unsigned int length=4)
 Get a random flight number from given length.
 
FAKER_CXX_EXPORT std::string faker::airline::flightNumberByRange (bool addLeadingZeros=false, Range length={1, 4})
 Get a random flight number from given length.