示例#1
0
 //! Load from a stream.
 void load(std::istream& in) {
     m_data.load(in);
     m_overflow.load(in);
     m_overflow_rank.load(in, &m_overflow);
     m_level_pointer_and_rank.load(in);
     read_member(m_max_level, in);
 }
 /*! \param in In-Stream to load the rank_support data from.
  */
 void load(std::istream& in) {
     m_abs_samples.load(in);
     m_differences.load(in);
     read_member(m_ones, in);
     read_member(m_size, in);
     m_contains_abs_sample.load(in);
     m_rank_contains_abs_sample.load(in, &m_contains_abs_sample);
 }
示例#3
0
 //! Loads the data structure from the given istream.
 void load(std::istream& in) {
     read_member(m_size, in);
     m_bt.load(in);
     m_btnr.load(in);
     m_btnrp.load(in);
     m_rank.load(in);
     m_invert.load(in);
 }
void index_sa_text_psi::load(std::istream &in) {
	if (in.get()!='1') {
		std::cerr << "wrong index!!";
		throw("wrong index!!");
	}
	superload(in);
	sa.load(in);
	text.load(in);
	psi.load(in);
}
示例#5
0
 //! Loads the data structure from the given istream.
 void load(std::istream& in) {
     read_member(m_size, in);
     m_bl.load(in);
     m_bf.load(in);
     m_wt.load(in);
     m_bl_rank.load(in, &m_bl);
     m_bf_rank.load(in, &m_bf);
     m_bl_select.load(in, &m_bl);
     m_bf_select.load(in, &m_bf);
     m_C.load(in);
     m_C_bf_rank.load(in);
 }
示例#6
0
 //! Loads the data structure from the given istream.
 void load(std::istream& in) {
     util::read_member(m_size, in);
     m_position.load(in);
 }
示例#7
0
 //! Load from a stream.
 void load(std::istream& in) {
     m_lcp.load(in);
 }
示例#8
0
 //! Load from a stream.
 void load(std::istream& in) {
     m_small_lcp.load(in);
     m_big_lcp.load(in);
     m_big_lcp_idx.load(in);
 }