00001 00014 #ifndef _BIT_STRING_H 00015 #define _BIT_STRING_H 00016 00017 #include <bitset> 00018 #include "bio_bit_traits.h" // defines nucleic acid traits 00019 #include "ci_char_traits.h" // case insensitive char traits 00020 00021 00022 /* 00023 * @namespace bioinfo 00024 * @brief namespace for the A Simple Bioinformatics C++ Toolkit 00025 * 00026 */ 00027 namespace bioinfo 00028 { 00029 00037 template<size_t NB> 00038 struct nmer_string { 00039 typedef std::basic_string<std::bitset<NB>, na_nmer_overlap<NB> > string; 00040 }; 00046 typedef std::basic_string<char, ci_char_traits> ci_string; 00051 } // _BIT_STRING_H 00052 #endif // _BIT_STRING_H