7#include "faker-cxx/export.h"
22 bool includeYear =
false;
23 bool includeNonStandard =
false;
159FAKER_CXX_EXPORT std::string
networkInterface(
const std::optional<NetworkInterfaceOptions>& options = {});
FAKER_CXX_EXPORT std::string semver()
Returns a semantic version.
FAKER_CXX_EXPORT std::string filePath()
Returns a file path.
FAKER_CXX_EXPORT std::string fileName()
Returns a random file name with extension.
FAKER_CXX_EXPORT std::string_view commonFileExtension()
Returns a commonly used file extension.
FAKER_CXX_EXPORT std::string_view directoryPath()
Returns a directory path.
FAKER_CXX_EXPORT std::string commonFileName()
Returns a random file name with a given extension or a commonly used extension.
FAKER_CXX_EXPORT std::string networkInterface(const std::optional< NetworkInterfaceOptions > &options={})
Returns a random network interface.
FAKER_CXX_EXPORT std::string cron(const CronOptions &options={})
Returns a random cron expression.
FAKER_CXX_EXPORT std::string_view fileType()
Returns a commonly used file type.
FAKER_CXX_EXPORT std::string_view mimeType()
Returns a mime-type.
FAKER_CXX_EXPORT std::string fileExtension(const std::optional< FileType > &mimeType=std::nullopt)
Returns a file extension.
FileType
Definition system.h:12
std::optional< std::string > interfaceType
Definition system.h:28
std::optional< std::string > interfaceSchema
Definition system.h:29