5 #ifndef BPP_SEQ_IO_BPPOALPHABETINDEX1FORMAT_H 6 #define BPP_SEQ_IO_BPPOALPHABETINDEX1FORMAT_H 8 #include <Bpp/Io/IoFormat.h> 10 #include "../AlphabetIndex/AlphabetIndex1.h" 11 #include "../GeneticCode/GeneticCode.h" 27 public virtual IOFormat
44 std::shared_ptr<const Alphabet>& alphabet,
45 const std::string& message,
46 bool verbose =
true) :
54 std::shared_ptr<const CodonAlphabet>& alphabet,
55 std::shared_ptr<const GeneticCode>& gencode,
56 const std::string& message,
57 bool verbose =
true) :
65 alphabet_(format.alphabet_),
66 gencode_(format.gencode_),
67 message_(format.message_),
68 verbose_(format.verbose_) {}
86 const std::string
getDataType()
const {
return "AlphabetIndex1"; }
95 std::unique_ptr<AlphabetIndex1>
read(
const std::string& description);
98 #endif // BPP_SEQ_IO_BPPOALPHABETINDEX1FORMAT_H
This alphabet is used to deal NumericAlphabet.