#include <run_summary.h>

Public Types

typedef std::vector< read_summaryread_summary_vector_t
 
typedef read_summary_vector_t::reference reference
 
typedef read_summary_vector_t::const_reference const_reference
 
typedef read_summary_vector_t::iterator iterator
 
typedef read_summary_vector_t::const_iterator const_iterator
 
typedef read_summary_vector_t::size_type size_type
 

Public Member Functions

 run_summary ()
 
template<typename I >
 run_summary (I beg, I end, const size_t lane_count, const size_t surface_count, const size_t channel_count)
 
 run_summary (const std::vector< run::read_info > &reads, const size_t lane_count, const size_t surface_count, const size_t channel_count)
 
void initialize (const run::info &run_info)
 
void initialize (const std::vector< run::read_info > &reads, const size_t lane_count, const size_t surface_count, const size_t channel_count)
 
void copy_reads (std::vector< run::read_info > &dst)
 
read_summaryoperator[] (const size_t n) INTEROP_THROW_SPEC((model
 
const read_summaryoperator[] (const size_t n) const INTEROP_THROW_SPEC((model
 
read_summaryat (const size_t n) INTEROP_THROW_SPEC((model
 
const_reference at (const size_type n) const INTEROP_THROW_SPEC((model
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_t lane_count () const
 
void lane_count (const size_t lane_count)
 
size_t surface_count () const
 
size_t channel_count () const
 
void surface_count (const size_t surface_count)
 
const metric_summarytotal_summary () const
 
metric_summarytotal_summary ()
 
void total_summary (const metric_summary &summary)
 
const metric_summarynonindex_summary () const
 
metric_summarynonindex_summary ()
 
void nonindex_summary (const metric_summary &summary)
 
const cycle_state_summarycycle_state () const
 
cycle_state_summarycycle_state ()
 
void clear ()
 

Friends

template<class MetricType , int Version>
struct io::generic_layout
 
std::ostream & operator<< (std::ostream &out, const run_summary &summary)
 
std::istream & operator>> (std::istream &in, run_summary &summary)
 

Detailed Description

Summary statistics over entire run

Member Typedef Documentation

typedef read_summary_vector_t::const_iterator const_iterator

Constant random access iterator to vector of read_summary

typedef read_summary_vector_t::const_reference const_reference

Constant reference to read_summary

typedef read_summary_vector_t::iterator iterator

Random access iterator to vector of read_summary

typedef std::vector<read_summary> read_summary_vector_t

Read summary vector type

typedef read_summary_vector_t::reference reference

Reference to read_summary

typedef read_summary_vector_t::size_type size_type

Unsigned integral type (usually size_t)

Constructor & Destructor Documentation

run_summary ( )
inline

Constructor

run_summary ( beg,
end,
const size_t  lane_count,
const size_t  surface_count,
const size_t  channel_count 
)
inline

Constructor

Parameters
begiterator to start of read collection
enditerator to end of read collection
lane_countnumber of lanes on flowcell
surface_countnumber of surfaces on flowcell
channel_countnumber of channels
run_summary ( const std::vector< run::read_info > &  reads,
const size_t  lane_count,
const size_t  surface_count,
const size_t  channel_count 
)
inline

Constructor

Parameters
readsread info vector
lane_countnumber of lanes on flowcell
surface_countnumber of surfaces on flowcell
channel_countnumber of channels

Member Function Documentation

void clear ( )
inline

Clear the contents of the summary

void copy_reads ( std::vector< run::read_info > &  dst)
inline

Copy reads to destination vector

Parameters
dstdestination vector
void initialize ( const run::info run_info)
inline

Initialize the run summary with the run info

Parameters
run_inforun info
void initialize ( const std::vector< run::read_info > &  reads,
const size_t  lane_count,
const size_t  surface_count,
const size_t  channel_count 
)
inline

Initialize the run summary with the number of reads and lanes

Parameters
readsvector of reads
lane_countnumber of lanes
surface_countnumber of surfaces on flowcell
channel_countnumber of channels

Friends And Related Function Documentation

friend struct io::generic_layout
friend
std::ostream& operator<< ( std::ostream &  out,
const run_summary summary 
)
friend
std::istream& operator>> ( std::istream &  in,
run_summary summary 
)
friend

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