libpappsomspp
Library for mass spectrometry
fastareader.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
* Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
4
*
5
* This file is part of the PAPPSOms++ library.
6
*
7
* PAPPSOms++ is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* PAPPSOms++ is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
19
*
20
******************************************************************************/
21
22
#pragma once
23
24
#include <QIODevice>
25
#include <QFile>
26
#include <QTextStream>
27
#include "
fastahandlerinterface.h
"
28
29
namespace
pappso
30
{
31
class
FastaFileIndexer;
32
33
class
PMSPP_LIB_DECL
FastaReader
34
{
35
friend
FastaFileIndexer
;
36
37
public
:
38
FastaReader
(
FastaHandlerInterface
&handler);
39
~
FastaReader
();
40
41
void
parse(QFile &fastaFile);
42
void
parse(QIODevice *p_inputstream);
43
44
protected
:
45
void
parseOnlyOne(QTextStream &p_in);
46
47
private
:
48
FastaHandlerInterface
&
m_handler
;
49
};
50
}
// namespace pappso
pappso::FastaHandlerInterface
Definition:
fastahandlerinterface.h:32
pappso::FastaReader
Definition:
fastareader.h:34
pappso::FastaReader::m_handler
FastaHandlerInterface & m_handler
Definition:
fastareader.h:48
pappso::FastaReader::FastaFileIndexer
friend FastaFileIndexer
Definition:
fastareader.h:35
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition:
exportinmportconfig.h:14
fastahandlerinterface.h
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition:
aa.cpp:39
pappsomspp
fasta
fastareader.h
Generated on Sun Jan 1 2023 15:24:07 for libpappsomspp by
1.9.1