JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Member Functions | Static Public Member Functions | Protected Member Functions
joda::docparsing::BeautifulJSONFileReader Class Reference

#include <BeautifulJSONFileReader.h>

Inheritance diagram for joda::docparsing::BeautifulJSONFileReader:
[legend]
Collaboration diagram for joda::docparsing::BeautifulJSONFileReader:
[legend]

Public Member Functions

 BeautifulJSONFileReader (IQueue *iqueue, OQueue *oqueue, void *ptr)
 
 ~BeautifulJSONFileReader () override
 
- Public Member Functions inherited from IWorkerThread< JsonFileBeautifiedReaderQueue, JsonTextStreamParserQueue, void * >
 IWorkerThread (IQueue *iqueue, OQueue *oqueue, const WConf &conf)
 
 IWorkerThread (IQueue *iqueue, OQueue *oqueue, WConf &&conf)
 
 IWorkerThread (IWorkerThread &&)=default
 
 IWorkerThread (const IWorkerThread &)=delete
 
IWorkerThreadoperator= (IWorkerThread &&)=default
 
IWorkerThreadoperator= (const IWorkerThread &)=delete
 
virtual ~IWorkerThread ()
 
void start ()
 
void waitFor ()
 
void stop ()
 
bool requestedToStop () const
 
bool isRunning () const
 

Static Public Member Functions

static const size_t recommendedThreads ()
 
- Static Public Member Functions inherited from IWorkerThread< JsonFileBeautifiedReaderQueue, JsonTextStreamParserQueue, void * >
static constexpr auto getIQueueFlags ()
 
static constexpr auto getOQueueFlags ()
 
static const size_t recommendedThreads ()
 

Protected Member Functions

void work () override
 

Additional Inherited Members

- Public Types inherited from IWorkerThread< JsonFileBeautifiedReaderQueue, JsonTextStreamParserQueue, void * >
typedef IQueueStruct::queue_t IQueue
 
typedef OQueueStruct::queue_t OQueue
 
typedef IQueueStruct::payload_t IPayload
 
typedef OQueueStruct::payload_t OPayload
 
typedef void * WConf
 
- Protected Attributes inherited from IWorkerThread< JsonFileBeautifiedReaderQueue, JsonTextStreamParserQueue, void * >
IQueueiqueue
 
OQueueoqueue
 
WConf conf
 
bool shouldRun
 

Detailed Description

Reads formatted (multi-line) JSON documents. This requires streaming parser, as the whole syntax has to be checked

Constructor & Destructor Documentation

◆ BeautifulJSONFileReader()

joda::docparsing::BeautifulJSONFileReader::BeautifulJSONFileReader ( IQueue iqueue,
OQueue oqueue,
void *  ptr 
)

◆ ~BeautifulJSONFileReader()

joda::docparsing::BeautifulJSONFileReader::~BeautifulJSONFileReader ( )
override

Member Function Documentation

◆ recommendedThreads()

static const size_t joda::docparsing::BeautifulJSONFileReader::recommendedThreads ( )
inlinestatic

◆ work()

void joda::docparsing::BeautifulJSONFileReader::work ( )
overrideprotectedvirtual

Implements IWorkerThread< JsonFileBeautifiedReaderQueue, JsonTextStreamParserQueue, void * >.

Here is the call graph for this function:

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