| 1 | // PatMaN DNA pattern matchercxx . . $ `<file>/fasta.h`/ |
| 2 | // (C) 2007 Kay Pruefer, Udo Stenzel |
| 3 | // |
| 4 | // This program is free software; you can redistribute it and/or modify |
| 5 | // it under the terms of the GNU General Public License as published by |
| 6 | // the Free Software Foundation; either version 2 of the License, or (at |
| 7 | // your option) any later version. See the LICENSE file for details. |
| 8 | |
| 9 | #ifndef INCLUDED_FASTA_H |
| 10 | #define INCLUDED_FASTA_Hcxx . . $ `fasta.h:10:9`! |
| 11 | |
| 12 | #include <string> |
| 13 | #include <iostream> |
| 14 | |
| 15 | typedef struct fastacxx . . $ fasta# { |
| 16 | stdcxx . . $ std/::stringcxx . . $ std/string# seqcxx . . $ fasta#seq. ; |
| 17 | stdcxx . . $ std/::stringcxx . . $ std/string# headerlinecxx . . $ fasta#headerline. ; |
| 18 | int nullcxx . . $ fasta#null. ; |
| 19 | } fastacxx . . $ fasta# ; |
| 20 | |
| 21 | class fasta_faccxx . . $ fasta_fac# { |
| 22 | public: |
| 23 | fasta_faccxx . . $ fasta_fac#fasta_fac(21eaf1e8e1bd68f5).( stdcxx . . $ std/::istreamcxx . . $ std/istream#& i ) : incxx . . $ fasta_fac#in.(i), linecxx . . $ fasta_fac#line.(0) { } |
| 24 | fastacxx . . $ fasta#* getcxx . . $ fasta_fac#get(e7de4abdd4bb2f0).( ) ; |
| 25 | private: |
| 26 | stdcxx . . $ std/::istreamcxx . . $ std/istream#& incxx . . $ fasta_fac#in. ; |
| 27 | int linecxx . . $ fasta_fac#line. ; |
| 28 | } ; |
| 29 | |
| 30 | #endif |