#include <WriteStreamJSON.h>
|
void | writeNextTuple (const RamDomain *tuple) override |
|
void | writeNullary () override |
|
void | writeNextTupleJSON (std::ostream &destination, const RamDomain *tuple) |
|
void | writeNextTupleList (std::ostream &destination, const std::string &name, const RamDomain value) |
|
void | writeNextTupleObject (std::ostream &destination, const std::string &name, const RamDomain value) |
|
| WriteStreamJSON (const std::map< std::string, std::string > &rwOperation, const SymbolTable &symbolTable, const RecordTable &recordTable) |
|
void | outputADT (std::ostream &destination, const RamDomain value, const std::string &name) |
|
void | outputRecord (std::ostream &destination, const RamDomain value, const std::string &name) |
|
template<typename Tuple > |
void | writeNext (const Tuple tuple) |
|
virtual void | writeSize (std::size_t) |
|
| SerialisationStream (RO< SymbolTable > &symTab, RO< RecordTable > &recTab, const std::map< std::string, std::string > &rwOperation) |
|
| SerialisationStream (RO< SymbolTable > &symTab, RO< RecordTable > &recTab, Json types) |
|
| SerialisationStream (RO< SymbolTable > &symTab, RO< RecordTable > &recTab, Json types, std::vector< std::string > relTypes, size_t auxArity=0) |
|
|
static std::string | getFileName (const std::map< std::string, std::string > &rwOperation) |
| Return given filename or construct from relation name. More...
|
|
|
using | RO = std::conditional_t< readOnlyTables, const A, A > |
|
Definition at line 197 of file WriteStreamJSON.h.
◆ WriteFileJSON()
souffle::WriteFileJSON::WriteFileJSON |
( |
const std::map< std::string, std::string > & |
rwOperation, |
|
|
const SymbolTable & |
symbolTable, |
|
|
const RecordTable & |
recordTable |
|
) |
| |
|
inline |
◆ ~WriteFileJSON()
souffle::WriteFileJSON::~WriteFileJSON |
( |
| ) |
|
|
inlineoverride |
◆ getFileName()
static std::string souffle::WriteFileJSON::getFileName |
( |
const std::map< std::string, std::string > & |
rwOperation | ) |
|
|
inlinestaticprotected |
Return given filename or construct from relation name.
Default name is [configured path]/[relation name].json
- Parameters
-
rwOperation | map of IO configuration options |
- Returns
- input filename
Definition at line 235 of file WriteStreamJSON.h.
◆ writeNextTuple()
void souffle::WriteFileJSON::writeNextTuple |
( |
const RamDomain * |
tuple | ) |
|
|
inlineoverrideprotectedvirtual |
◆ writeNullary()
void souffle::WriteFileJSON::writeNullary |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ file
std::ofstream souffle::WriteFileJSON::file |
|
protected |
◆ isFirst
bool souffle::WriteFileJSON::isFirst |
|
protected |
The documentation for this class was generated from the following file: