/** ** Copyright (c) 2007-2009 Illumina, Inc. ** ** This software is covered by the "Illumina Genome Analyzer Software ** License Agreement" and the "Illumina Source Code License Agreement", ** and certain third party copyright/licenses, and any user of this ** source file is bound by the terms therein (see accompanying files ** Illumina_Genome_Analyzer_Software_License_Agreement.pdf and ** Illumina_Source_Code_License_Agreement.pdf and third party ** copyright/license notices). ** ** This file is part of the Consensus Assessment of Sequence And VAriation ** (CASAVA) software package. ** ** \file DemuxSummaryXmlWriter.hh ** ** \brief Stores demultiplex statistics in XML. ** ** \author Roman Petrovski **/ #ifndef CASAVA_DEMULTIPLEXER_DEMUX_SUMMARY_XML_WRITER_H #define CASAVA_DEMULTIPLEXER_DEMUX_SUMMARY_XML_WRITER_H #include #include #include #include "demultiplex/DemuxSummaryRecord.hh" namespace casava { namespace demultiplex { namespace fs=boost::filesystem; class DemuxSummaryXmlWriter : public boost::noncopyable { const fs::path summaryFilePath_; boost::property_tree::ptree tree_; public: DemuxSummaryXmlWriter(const fs::path &summaryFilePath) : summaryFilePath_(summaryFilePath){;} void addTileSummary(const std::pair& record); void close(); }; } //namespace statistics } //namespace casava #endif //CASAVA_DEMULTIPLEXER_DEMUX_SUMMARY_XML_WRITER_H