metric_file_stream.h File Reference
#include "interop/util/exception.h"
#include "interop/util/filesystem.h"
#include "interop/io/format/stream_membuf.h"
#include "interop/io/metric_stream.h"
#include "interop/model/metric_base/metric_exceptions.h"
Go to the source code of this file.
Namespaces | |
illumina | |
illumina::interop | |
illumina::interop::io | |
Functions | |
template<class MetricSet > | |
size_t | compute_buffer_size (const MetricSet &metrics) INTEROP_THROW_SPEC((io |
template<class MetricSet > | |
size_t | write_interop_to_buffer (const MetricSet &metrics,::uint8_t *buffer, const size_t buffer_size) |
template<class MetricSet > | |
void | read_interop_from_buffer (::uint8_t *buffer, const size_t buffer_size, MetricSet &metrics) INTEROP_THROW_SPEC((interop |
template<class MetricSet > | |
void | read_interop_from_string (const std::string &buffer, MetricSet &metrics, const bool rebuild=true) INTEROP_THROW_SPEC((interop |
template<class MetricSet > | |
void | write_interop_to_string (std::string &buffer, const MetricSet &metrics, const ::int16_t version=-1) INTEROP_THROW_SPEC((interop |
template<class MetricSet > | |
size_t | read_header_from_string (const std::string &buffer, MetricSet &metrics) INTEROP_THROW_SPEC((interop |
template<class MetricSet > | |
void | write_header_to_string (std::string &buffer, const MetricSet &metrics,::int16_t version=-1) INTEROP_THROW_SPEC((interop |
template<class MetricSet > | |
void | read_interop (const std::string &run_directory, MetricSet &metrics, const bool use_out=true) INTEROP_THROW_SPEC((io |
template<class MetricSet > | |
bool | write_interop (const std::string &run_directory, const MetricSet &metrics, const bool use_out=true, const ::int16_t version=-1) INTEROP_THROW_SPEC((io |
template<class MetricType > | |
void | write_interop_header (const std::string &run_directory, const ::int16_t version=-1, const typename MetricType::header_type &header=typename MetricType::header_type(), const bool use_out=true) INTEROP_THROW_SPEC((io |
template<class MetricSet > | |
bool | interop_exists (const std::string &run_directory, MetricSet &, const bool use_out=true) INTEROP_THROW_SPEC((io |
template<class MetricSet > | |
void | list_interop_filenames (std::vector< std::string > &files, const std::string &run_directory, const size_t last_cycle=0, const bool use_out=true, const bool add=false) |
template<class MetricSet > | |
void | read_interop_by_cycle (const std::string &run_directory, MetricSet &metrics, const size_t last_cycle, const bool use_out=true) INTEROP_THROW_SPEC((interop |
template<class MetricSet > | |
bool | interop_exists (const std::string &run_directory, MetricSet &, const size_t last_cycle, const bool use_out=true) INTEROP_THROW_SPEC((io |
template<class Metric > | |
bool | is_deprecated (const int version) |
template<class MetricSet > | |
bool | is_deprecated_set (MetricSet &metrics) |
Detailed Description
Interface for reading/writing InterOps to binary files
This also includes an interface for reading an InterOp from a binary byte buffer.
- Date
- 10/9/15
- Version
- 1.0
- Copyright
- GNU Public License.