Constructors and Destructors |
| EngineBase (ConfigBase *config, RequiredPropertiesConfig *properties)
Construct a new instance of the engine class with the configuration and properties provided. More...
|
virtual
| ~EngineBase ()
Frees the meta data class and the data set resource created by the extending class.
|
Engine Methods |
virtual ResultsBase *
| processBase (EvidenceBase *evidence) const =0
Processes the evidence provided and returns the result. More...
|
virtual void
| refreshData () const =0
Refresh the data set from the original file location. More...
|
virtual void
| refreshData (const char *fileName) const =0
Refresh the data set from the file location provided. More...
|
virtual void
| refreshData (void *data, long length) const =0
Refresh the data set from the memory location provided. More...
|
virtual void
| refreshData (unsigned char data[], long length) const =0
Refresh the data set from the memory location provided. More...
|
Setters |
void
| setLicenseKey (const string &licenseKey)
Sets the license key to be used when updating the data set. More...
|
void
| setDataUpdateUrl (const string &updateUrl)
Sets the URL to be used when updating the data set. More...
|
Getters |
MetaData *
| getMetaData () const
Return the a pointer to the meta data class which contains meta data for the properties, values, profiles and components that exist within the engine. More...
|
bool
| getAutomaticUpdatesEnabled () const
Gets whether or not automatic updates are enabled. More...
|
virtual string
| getDataFilePath () const =0
Get the path to the data file the current data set was initialised from. More...
|
virtual string
| getDataFileTempPath () const =0
Get the path to the temporary data file created by the engine, or an empty string if one was not created. More...
|
virtual string
| getDataUpdateUrl () const
Get the URL to be used when updating the data file, or an empty string if this is not set. More...
|
virtual Date
| getPublishedTime () const =0
Get the date at which the current data set was published. More...
|
virtual Date
| getUpdateAvailableTime () const =0
|
virtual string
| getProduct () const =0
Get the name of the data set being used e.g. More...
|
virtual string
| getType () const =0
Get the tier of the data set being used e.g. More...
|
const vector< string > *
| getKeys () const
Get the list of keys which the engine accepts as evidence. More...
|
bool
| getIsThreadSafe () const
Get whether or not the engine was compiled with thread-safe support. More...
|