API Documentation
|
#include <VehicleDatabase.h>
Public Member Functions | |
Buffer< uint04 > | filterModels (const String &make, const String &model, uint04 year) const |
Buffer< String > | getMakes (const String &model=String(), uint04 year=Constant< uint04 >::Invalid) const |
Buffer< String > | getModels (const String &make=String(), uint04 year=Constant< uint04 >::Invalid) const |
Buffer< uint04 > | getYears (const String &make=String(), const String &model=String()) const |
void | readDatabaseFromFolder (const File &folder) |
void | readFromDBF (const File &f) |
void | readSearchTermsFromFolder (const File &folder) |
VehicleRecord | record (uint04 i) const |
uint04 | recordCount () const |
bool | recordFilterPass (uint04 record_number, const String &make, const String &model, uint04 year) const |
VehicleDatabase () | |
Static Public Member Functions | |
static VehicleDatabase & | DefaultDatabase () |
static uint04 | ParseYear (const File &f) |
Public Attributes | |
Buffer< fltp08 > | curb_weight |
Buffer< VehicleSearchItem > | file_search_terms |
Buffer< fltp08 > | overall_height |
Buffer< fltp08 > | overall_length |
Buffer< fltp08 > | overall_width |
Buffer< String > | vehicle_makes |
Buffer< String > | vehicle_models |
Buffer< uint04 > | vehicle_year |
Buffer< fltp08 > | wheel_base |
|
inline |
|
static |
Buffer< String > getMakes | ( | const String & | model = String(), |
uint04 | year = Constant< uint04 >::Invalid ) const |
Buffer< String > getModels | ( | const String & | make = String(), |
uint04 | year = Constant< uint04 >::Invalid ) const |
void readDatabaseFromFolder | ( | const File & | folder | ) |
void readFromDBF | ( | const File & | f | ) |
void readSearchTermsFromFolder | ( | const File & | folder | ) |
|
inline |
|
inline |
bool recordFilterPass | ( | uint04 | record_number, |
const String & | make, | ||
const String & | model, | ||
uint04 | year ) const |
Buffer<VehicleSearchItem> file_search_terms |