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

#include <MemoryJoinDoc.h>

Collaboration diagram for MemoryJoinDoc:
[legend]

Public Member Functions

 MemoryJoinDoc (long i)
 
 MemoryJoinDoc (const std::string &str)
 
 MemoryJoinDoc (bool b)
 
void join (RJValue &&val)
 
void join (const RJValue &val)
 
void deepCopyInto (RJDocument &val)
 
size_t getMemSize ()
 

Protected Member Functions

 MemoryJoinDoc ()
 

Protected Attributes

RJMemoryPoolAlloc alloc
 
RJDocument doc
 
std::mutex mut
 

Detailed Description

This class represents an RJDocument containing all join documents

Constructor & Destructor Documentation

◆ MemoryJoinDoc() [1/4]

MemoryJoinDoc::MemoryJoinDoc ( long  i)
explicit

Initializes an MemoryJoinDoc with an number as hash-value

Parameters
iThe value to be hashed for

◆ MemoryJoinDoc() [2/4]

MemoryJoinDoc::MemoryJoinDoc ( const std::string &  str)
explicit

Initializes an MemoryJoinDoc with an string as hash-value

Parameters
strThe value to be hashed for

◆ MemoryJoinDoc() [3/4]

MemoryJoinDoc::MemoryJoinDoc ( bool  b)
explicit

Initializes an MemoryJoinDoc with an Boolean as hash-value

Parameters
bThe value to be hashed for

◆ MemoryJoinDoc() [4/4]

MemoryJoinDoc::MemoryJoinDoc ( )
protected
Here is the call graph for this function:

Member Function Documentation

◆ deepCopyInto()

void MemoryJoinDoc::deepCopyInto ( RJDocument val)

Copies the internal document into a RJDocument

Parameters
valTHe document to copy into

◆ getMemSize()

size_t MemoryJoinDoc::getMemSize ( )

Returns the memory size of the internal document.

Returns
the memory size of the internal document.

◆ join() [1/2]

void MemoryJoinDoc::join ( const RJValue val)

Adds an document to the list of joined documents by deep-copying it

Parameters
valThe document/value to add

◆ join() [2/2]

void MemoryJoinDoc::join ( RJValue &&  val)

Adds an document to the list of joined documents by moving it

Parameters
valThe document/value to add
Here is the caller graph for this function:

Field Documentation

◆ alloc

RJMemoryPoolAlloc MemoryJoinDoc::alloc
protected

◆ doc

RJDocument MemoryJoinDoc::doc
protected

◆ mut

std::mutex MemoryJoinDoc::mut
protected

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