|
Jafar
|
This is the data base for storing features. More...
This is the data base for storing features.
Definition at line 32 of file SpafDB.hpp.
#include <SpafDB.hpp>
Public Member Functions | |
| SpafDB (ProximityStrategy *proximityStrategy) | |
| SpafDB (ProximityStrategy *proximityStrategy, const Parameter *param) | |
| spaf::FeaturesBag | executeFeaturesSelectQuery (const SelectQuery *) const |
| Execute a query on the database. | |
| std::list< spafgraph::Node * > | executeNodesSelectQuery (const SelectQuery *) const |
| Execute a query on the database. | |
| std::list< spaf::MatchResult > | executeMatchQuery (const MatchQuery *, const spaf::FeaturesBag &) const |
| Execute a match query. | |
| void | insertFeature (spaf::Feature *f) |
| Call this function to insert a feature in the data base. | |
| void | removeFeature (spaf::Feature *f) |
| Call this function to remove a feature from the data base. | |
| void | removeFeature (unsigned int _id) |
| Call this function to remove a feature from the data base. | |
| int | countFeatures () const |
| void | updateFeatures (std::list< spaf::Feature * >) |
| Update a set of features, or create them if they are not part of the data base. | |
Private Member Functions | |
| void | init (ProximityStrategy *proximityStrategy, const Parameter *param) |
Private Attributes | |
| Private *const | d |
| int jafar::spafdb::SpafDB::countFeatures | ( | ) | const |
| spaf::FeaturesBag jafar::spafdb::SpafDB::executeFeaturesSelectQuery | ( | const SelectQuery * | ) | const |
Execute a query on the database.
| std::list<spafgraph::Node*> jafar::spafdb::SpafDB::executeNodesSelectQuery | ( | const SelectQuery * | ) | const |
Execute a query on the database.
| void jafar::spafdb::SpafDB::insertFeature | ( | spaf::Feature * | f | ) |
Call this function to insert a feature in the data base.
If the feature is a group of features, all the sub features will be recursivelly added as well.
| void jafar::spafdb::SpafDB::removeFeature | ( | spaf::Feature * | f | ) |
Call this function to remove a feature from the data base.
It's up to the caller to delete the feature.
| void jafar::spafdb::SpafDB::removeFeature | ( | unsigned int | _id | ) |
Call this function to remove a feature from the data base.
The feature will be deleted by this function.
| void jafar::spafdb::SpafDB::updateFeatures | ( | std::list< spaf::Feature * > | ) |
Update a set of features, or create them if they are not part of the data base.
This function creates only link between features of that list.
| Generated on Wed Oct 15 2014 00:37:51 for Jafar by doxygen 1.7.6.1 |
|