JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions | Protected Member Functions
DirectoryExport Class Reference

#include <DirectoryExport.h>

Inheritance diagram for DirectoryExport:
[legend]
Collaboration diagram for DirectoryExport:
[legend]

Public Member Functions

 DirectoryExport (std::string dirname)
 
void consume (JsonContainerQueue::queue_t &queue) override
 
const std::string toString () override
 
const std::string toQueryString () override
 
- Public Member Functions inherited from IExportDestination
virtual ~IExportDestination ()=default
 
std::pair< std::string, double > getTimer ()
 

Protected Member Functions

void exportContainer (std::unique_ptr< JSONContainer > &&cont) override
 
const std::string getTimerName () override
 
- Protected Member Functions inherited from IExportDestination
virtual void consumeContainer (JsonContainerQueue::queue_t &queue)
 

Additional Inherited Members

- Protected Attributes inherited from IExportDestination
RecurringTimer timer
 

Constructor & Destructor Documentation

◆ DirectoryExport()

DirectoryExport::DirectoryExport ( std::string  dirname)

Member Function Documentation

◆ consume()

void DirectoryExport::consume ( JsonContainerQueue::queue_t queue)
overridevirtual

Consumes (and times) a queue of containers. Normally this queue is filled with the results of a query.

Parameters
queueThe queue to consume from

Reimplemented from IExportDestination.

◆ exportContainer()

void DirectoryExport::exportContainer ( std::unique_ptr< JSONContainer > &&  cont)
overrideprotectedvirtual

Implements IExportDestination.

◆ getTimerName()

const std::string DirectoryExport::getTimerName ( )
overrideprotectedvirtual

Implements IExportDestination.

◆ toQueryString()

const std::string DirectoryExport::toQueryString ( )
overridevirtual

Returns a string as this ExportDestination would be represented in a query

Returns

Implements IExportDestination.

◆ toString()

const std::string DirectoryExport::toString ( )
overridevirtual

Returns a (human readable) string describing the ExportDestination. A.toString() == B.toString() => A == B

Returns

Implements IExportDestination.


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