16 : map_(firstKey, lastKey),
20 int len = lastKey-firstKey+1;
23 for(
int i=0; i<len; ++i) {
24 val.first = firstKey+i;
44 iterator m_iter = map_.lower_bound(row);
48 if (mapped_indices == NULL) {
49 throw std::runtime_error(
"RaggedTable<MapContig>, NULL row.");
52 for(
int i=0; i<numIndices; ++i) {
53 mapped_indices->
insert2(indices[i]);
66 for(
int i=0; i<numRows; ++i) {
68 iterator m_iter = map_.lower_bound(row);
70 mapped_indices = (*m_iter).second;
71 if (mapped_indices == NULL) {
72 throw std::runtime_error(
"RaggedTable<MapContig>, NULL row.");
75 for(
int j=0; j<numIndices; ++j) {
76 mapped_indices->
insert2(indices[j]);
84 for(
int i=0; i<numIndices; ++i) {
86 addIndices(ind, 1, &ind);
fei_Pool_alloc< SET_TYPE > poolAllocatorSet_
std::pair< int, fei::ctg_set< int > * > value_type
void construct(U *p, const U &val)
pointer allocate(size_type n, const void *hint=NULL)
void insert2(const T &item)
static const_iterator end()
map_type::iterator iterator