| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <fastafileindexer.h>
  
Public Member Functions | |
| FastaFileIndexer (const QFileInfo &fastaFile) | |
| FastaFileIndexer (const FastaFileIndexer &other) | |
| virtual | ~FastaFileIndexer () | 
| void | getSequenceByIndex (FastaHandlerInterface &fasta_handler, std::size_t index) override | 
| void | open () override | 
| void | close () override | 
| FastaFileIndexerSPtr | makeFastaFileIndexerSPtr () const | 
| std::size_t | size () const | 
Private Member Functions | |
| void | parseFastaFile () | 
Private Attributes | |
| QFile | m_fasta_file | 
| std::vector< qint64 > | m_indexArray | 
| QTextStream * | mpa_sequenceTxtIn = nullptr | 
Definition at line 51 of file fastafileindexer.h.
| pappso::FastaFileIndexer::FastaFileIndexer | ( | const QFileInfo & | fastaFile | ) | 
Definition at line 39 of file fastafileindexer.cpp.
References m_fasta_file.
Referenced by FastaFileIndexer().
| pappso::FastaFileIndexer::FastaFileIndexer | ( | const FastaFileIndexer & | other | ) | 
Definition at line 59 of file fastafileindexer.cpp.
References FastaFileIndexer(), m_fasta_file, m_indexArray, and mpa_sequenceTxtIn.
      
  | 
  virtual | 
      
  | 
  overridevirtual | 
Implements pappso::FastaFileIndexerInterface.
Definition at line 138 of file fastafileindexer.cpp.
References m_fasta_file, and mpa_sequenceTxtIn.
Referenced by ~FastaFileIndexer().
      
  | 
  overridevirtual | 
Implements pappso::FastaFileIndexerInterface.
Definition at line 149 of file fastafileindexer.cpp.
References m_fasta_file, m_indexArray, mpa_sequenceTxtIn, open(), and pappso::FastaReader::parseOnlyOne().
| FastaFileIndexerSPtr pappso::FastaFileIndexer::makeFastaFileIndexerSPtr | ( | ) | const | 
Definition at line 186 of file fastafileindexer.cpp.
      
  | 
  overridevirtual | 
Implements pappso::FastaFileIndexerInterface.
Definition at line 122 of file fastafileindexer.cpp.
References m_fasta_file, and mpa_sequenceTxtIn.
Referenced by getSequenceByIndex().
      
  | 
  private | 
Definition at line 73 of file fastafileindexer.cpp.
References m_fasta_file, and m_indexArray.
| std::size_t pappso::FastaFileIndexer::size | ( | ) | const | 
Definition at line 194 of file fastafileindexer.cpp.
References m_indexArray.
      
  | 
  private | 
Definition at line 73 of file fastafileindexer.h.
Referenced by FastaFileIndexer(), FastaFileIndexer(), close(), getSequenceByIndex(), open(), and parseFastaFile().
      
  | 
  private | 
Definition at line 74 of file fastafileindexer.h.
Referenced by FastaFileIndexer(), getSequenceByIndex(), parseFastaFile(), and size().
      
  | 
  private | 
Definition at line 75 of file fastafileindexer.h.
Referenced by FastaFileIndexer(), close(), getSequenceByIndex(), and open().