API Documentation
Loading...
Searching...
No Matches
VehicleDatabase Class Reference

#include <VehicleDatabase.h>

Collaboration diagram for VehicleDatabase:
[legend]

Public Member Functions

Buffer< uint04filterModels (const String &make, const String &model, uint04 year) const
 
Buffer< StringgetMakes (const String &model=String(), uint04 year=Constant< uint04 >::Invalid) const
 
Buffer< StringgetModels (const String &make=String(), uint04 year=Constant< uint04 >::Invalid) const
 
Buffer< uint04getYears (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 VehicleDatabaseDefaultDatabase ()
 
static uint04 ParseYear (const File &f)
 

Public Attributes

Buffer< fltp08curb_weight
 
Buffer< VehicleSearchItemfile_search_terms
 
Buffer< fltp08overall_height
 
Buffer< fltp08overall_length
 
Buffer< fltp08overall_width
 
Buffer< Stringvehicle_makes
 
Buffer< Stringvehicle_models
 
Buffer< uint04vehicle_year
 
Buffer< fltp08wheel_base
 

Constructor & Destructor Documentation

◆ VehicleDatabase()

VehicleDatabase ( )
inline

Member Function Documentation

◆ DefaultDatabase()

static VehicleDatabase & DefaultDatabase ( )
static

◆ filterModels()

Buffer< uint04 > filterModels ( const String & make,
const String & model,
uint04 year ) const

◆ getMakes()

Buffer< String > getMakes ( const String & model = String(),
uint04 year = Constantuint04 >::Invalid ) const

◆ getModels()

Buffer< String > getModels ( const String & make = String(),
uint04 year = Constantuint04 >::Invalid ) const

◆ getYears()

Buffer< uint04 > getYears ( const String & make = String(),
const String & model = String() ) const

◆ ParseYear()

static uint04 ParseYear ( const File & f)
static

◆ readDatabaseFromFolder()

void readDatabaseFromFolder ( const File & folder)

◆ readFromDBF()

void readFromDBF ( const File & f)

◆ readSearchTermsFromFolder()

void readSearchTermsFromFolder ( const File & folder)

◆ record()

VehicleRecord record ( uint04 i) const
inline

◆ recordCount()

uint04 recordCount ( ) const
inline

◆ recordFilterPass()

bool recordFilterPass ( uint04 record_number,
const String & make,
const String & model,
uint04 year ) const

Member Data Documentation

◆ curb_weight

Buffer<fltp08> curb_weight

◆ file_search_terms

Buffer<VehicleSearchItem> file_search_terms

◆ overall_height

Buffer<fltp08> overall_height

◆ overall_length

Buffer<fltp08> overall_length

◆ overall_width

Buffer<fltp08> overall_width

◆ vehicle_makes

Buffer<String> vehicle_makes

◆ vehicle_models

Buffer<String> vehicle_models

◆ vehicle_year

Buffer<uint04> vehicle_year

◆ wheel_base

Buffer<fltp08> wheel_base

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