/** ** Copyright (c) 2007-2010 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. ** **/ #ifndef TRIMMER_RESULT_H #define TRIMMER_RESULT_H #include #include "TrimmerErrors.h" #include "TrimmerReport.h" struct CTrimmerResult { int m_Status; int m_Count; int m_SuffixPosition; int m_Score; char * m_Matcher; CTrimmerResult() : m_Status(OKAY) , m_Count(0) , m_SuffixPosition(0) , m_Score(0) , m_Matcher(0) {} void Print(char * readString, int threshold, // for stdout char * preString = 0); void PrintFastq(char * readString, int threshold, // for stdout char * name1, char * name2, char * quality, int nPadLen, int nExtraBases, TrimmerReport & report ); void Print(FILE * & fpWrite, char * readString, int threshold, char * preString = 0); private: static char ms_PrefixString[MAX_READ_SIZE]; }; #endif // TRIMMER_RESULT_H