|
Raptor 4.0.0-rc.1
A fast and space-efficient pre-filter
|
Provides raptor::detail::write_text and raptor::detail::write_json. More...
Include dependency graph for write_metadata.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | raptor::detail::write_json (std::ostream &stream, index_metadata const &metadata, bool const user_bins) |
Writes metadata as a single JSON object. | |
| void | raptor::detail::write_text (std::ostream &stream, index_metadata const &metadata, bool const user_bins) |
Writes metadata as ## Key = value lines, like the header of a raptor search result. | |
Provides raptor::detail::write_text and raptor::detail::write_json.
| void raptor::detail::write_json | ( | std::ostream & | stream, |
| index_metadata const & | metadata, | ||
| bool const | user_bins ) |
Writes metadata as a single JSON object.
| [out] | stream | The stream to write to. |
| [in] | metadata | The metadata to write. |
| [in] | user_bins | Whether to list the files of every user bin. |
Contains the same values as raptor::detail::write_text.
Here is the call graph for this function:
Here is the caller graph for this function:| void raptor::detail::write_text | ( | std::ostream & | stream, |
| index_metadata const & | metadata, | ||
| bool const | user_bins ) |
Writes metadata as ## Key = value lines, like the header of a raptor search result.
| [out] | stream | The stream to write to. |
| [in] | metadata | The metadata to write. |
| [in] | user_bins | Whether to list the files of every user bin, as #<id>\t<file>[,<file>...], directly after the number of user bins. |
If metadata.structure is set, the output ends with one tab-separated line per IBF, preceded by the column names in a line starting with #IBF.
Here is the call graph for this function:
Here is the caller graph for this function: