memgraph/dc/example/neo4j.cpp
2015-10-22 23:54:28 +02:00

29 lines
334 B
C++

#include "db.hpp"
class neo4j : public db
{
public:
void name() const override
{
cout << "Neo4j" << endl;
}
void type() const override
{
cout << "Graph" << endl;
}
~neo4j() {}
};
extern "C" db* produce()
{
return new neo4j();
}
extern "C" void destruct(db* p)
{
delete p;
}