YARP
Yet Another Robot Platform
yarp::serversql::impl::TripleSource Class Referenceabstract

Abstract view of a database as a collection of triples. More...

#include <yarp/serversql/impl/TripleSource.h>

+ Inheritance diagram for yarp::serversql::impl::TripleSource:

Public Member Functions

 TripleSource ()
 
virtual ~TripleSource ()=default
 
virtual void reset ()
 
virtual int find (Triple &t, TripleContext *context)=0
 
virtual void prune (TripleContext *context)=0
 
virtual std::list< Triplequery (Triple &ti, TripleContext *context)=0
 
virtual void remove_query (Triple &ti, TripleContext *context)=0
 
virtual void insert (Triple &t, TripleContext *context)=0
 
virtual void update (Triple &t, TripleContext *context)=0
 
virtual void begin (TripleContext *context)=0
 
virtual void end (TripleContext *context)=0
 

Detailed Description

Abstract view of a database as a collection of triples.

These are the minimum functions that need to be implemented in order for the name server to use a particular kind of database.

Definition at line 43 of file TripleSource.h.

Constructor & Destructor Documentation

◆ TripleSource()

yarp::serversql::impl::TripleSource::TripleSource ( )
inline

Definition at line 46 of file TripleSource.h.

◆ ~TripleSource()

virtual yarp::serversql::impl::TripleSource::~TripleSource ( )
virtualdefault

Member Function Documentation

◆ begin()

virtual void yarp::serversql::impl::TripleSource::begin ( TripleContext context)
pure virtual

◆ end()

virtual void yarp::serversql::impl::TripleSource::end ( TripleContext context)
pure virtual

◆ find()

virtual int yarp::serversql::impl::TripleSource::find ( Triple t,
TripleContext context 
)
pure virtual

◆ insert()

virtual void yarp::serversql::impl::TripleSource::insert ( Triple t,
TripleContext context 
)
pure virtual

◆ prune()

virtual void yarp::serversql::impl::TripleSource::prune ( TripleContext context)
pure virtual

◆ query()

virtual std::list<Triple> yarp::serversql::impl::TripleSource::query ( Triple ti,
TripleContext context 
)
pure virtual

◆ remove_query()

virtual void yarp::serversql::impl::TripleSource::remove_query ( Triple ti,
TripleContext context 
)
pure virtual

◆ reset()

virtual void yarp::serversql::impl::TripleSource::reset ( )
inlinevirtual

Definition at line 53 of file TripleSource.h.

◆ update()

virtual void yarp::serversql::impl::TripleSource::update ( Triple t,
TripleContext context 
)
pure virtual

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