souffle  2.0.2-371-g6315b36
Public Member Functions
souffle::profile::NonRecursiveRelationNumberProcessor Class Reference

Non-Recursive Relation Number Profile Event Processor. More...

#include <EventProcessor.h>

Inheritance diagram for souffle::profile::NonRecursiveRelationNumberProcessor:
Inheritance graph
Collaboration diagram for souffle::profile::NonRecursiveRelationNumberProcessor:
Collaboration graph

Public Member Functions

 NonRecursiveRelationNumberProcessor ()
 
void process (ProfileDatabase &db, const std::vector< std::string > &signature, va_list &args) override
 process event input More...
 
- Public Member Functions inherited from souffle::profile::EventProcessor
virtual ~EventProcessor ()=default
 

Detailed Description

Non-Recursive Relation Number Profile Event Processor.

Definition at line 329 of file EventProcessor.h.

Constructor & Destructor Documentation

◆ NonRecursiveRelationNumberProcessor()

souffle::profile::NonRecursiveRelationNumberProcessor::NonRecursiveRelationNumberProcessor ( )
inline

Definition at line 331 of file EventProcessor.h.

333  : public EventProcessor {

Member Function Documentation

◆ process()

void souffle::profile::NonRecursiveRelationNumberProcessor::process ( ProfileDatabase &  db,
const std::vector< std::string > &  signature,
va_list &  args 
)
inlineoverridevirtual

process event input

Reimplemented from souffle::profile::EventProcessor.

Definition at line 335 of file EventProcessor.h.

335  {
336  EventProcessorSingleton::instance().registerEventProcessor("@t-recursive-relation", this);
337  }
338  /** process event input */
339  void process(ProfileDatabase& db, const std::vector<std::string>& signature, va_list& args) override {
340  const std::string& relation = signature[1];
341  const std::string& srcLocator = signature[2];

References souffle::profile::EventProcessorSingleton::instance(), and souffle::profile::EventProcessorSingleton::registerEventProcessor().

Here is the call graph for this function:

The documentation for this class was generated from the following file:
relation
Relation & relation
Definition: Reader.h:130
souffle::profile::NonRecursiveRelationNumberProcessor::process
void process(ProfileDatabase &db, const std::vector< std::string > &signature, va_list &args) override
process event input
Definition: EventProcessor.h:335
souffle::profile::EventProcessorSingleton::registerEventProcessor
void registerEventProcessor(const std::string &keyword, EventProcessor *processor)
register an event processor with its keyword
Definition: EventProcessor.h:76
souffle::profile::EventProcessorSingleton::instance
static EventProcessorSingleton & instance()
get instance
Definition: EventProcessor.h:70