本文整理汇总了C++中int_vector::load方法的典型用法代码示例。如果您正苦于以下问题:C++ int_vector::load方法的具体用法?C++ int_vector::load怎么用?C++ int_vector::load使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类int_vector
的用法示例。
在下文中一共展示了int_vector::load方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: load
//! 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);
}
示例2: load
/*! \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: load
//! 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);
}
示例4: load
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: load
//! 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: load
//! Loads the data structure from the given istream.
void load(std::istream& in) {
util::read_member(m_size, in);
m_position.load(in);
}
示例7: load
//! Load from a stream.
void load(std::istream& in) {
m_lcp.load(in);
}
示例8: load
//! 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);
}