Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
jafar::spafdb::SpafDB Class Reference

This is the data base for storing features. More...


Detailed Description

This is the data base for storing features.

Definition at line 32 of file SpafDB.hpp.

#include <SpafDB.hpp>

List of all members.

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::MatchResultexecuteMatchQuery (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

Member Function Documentation

Returns:
the number of features in the data base

Execute a query on the database.

Returns:
the list of features that match the query

Execute a query on the database.

Returns:
the list of node that match the query

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.

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.

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:51 for Jafar by doxygen 1.7.6.1
LAAS-CNRS