<
classAttr,
classPosition>
64 # ifdef NCBI_COMPILER_MSVC 75 #ifdef NCBI_COMPILER_MSVC 78 template<
classAttr,
classPosition>
89 template<
classAttr,
classPosition>
106 classconst_iterator;
108 classconst_pos_iterator;
139 if((
N> 1) && (
m_vElems[
N-2].m_Attr == attr)) {
150 returnconst_iterator(
m_vElems.begin());
153const_iterator
end()
const 156 returnconst_iterator(
m_vElems.end() - 1);
168 returnelement_proxy(
m_vElems.begin() + pos);
179 returnconst_iterator(it);
184 returnconst_iterator(it);
197 return m_vElems.back().m_Start - 1;
206 returnconst_pos_iterator(
begin());
210 returnconst_pos_iterator(
end());
221 if(it->m_Start > pos) {
250 return(
m_itEl+ 1)->m_Start - 1;
254 return(
m_itEl+ 1)->m_Start;
266 return m_itEl== ep.m_itEl;
332 return! (*
this==it);
403 while(m_position < m_range_it->
GetFrom()) {
416 return(*
this+= -
n);
432 return! (*
this==it);
461 if(m_position < m_range_it->
GetFrom()) {
Include a standard set of the NCBI C++ Toolkit most basic headers.
bool operator<(const CEquivRange &A, const CEquivRange &B)
static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)
static DLIST_TYPE *DLIST_NAME() last(DLIST_LIST_TYPE *list)
unsigned int TSeqPos
Type for sequence locations and lengths.
int TSignedSeqPos
Type for signed sequence position.
const_pos_iterator operator++(int)
TSeqPos GetLength() const
const attr_type & GetAttr() const
const_iterator & operator++()
CAttrRangeCollection(TSeqPos start)
void SetFrom(TSeqPos start)
const element_proxy & operator*() const
position_type GetFrom() const
bool operator!=(const const_pos_iterator &it) const
void push_back(const attr_type &attr, TSeqPos len)
const_iterator(vec_const_iterator itEl)
const attr_type * operator->() const
bool operator<(const Position &pos) const
const_pos_iterator begin_pos() const
const_pos_iterator operator--(int)
bool operator!=(const const_iterator &it) const
const_pos_iterator(const_iterator itR)
bool operator>=(const const_pos_iterator &it) const
random_access_iterator_tag iterator_category
bool operator<(const const_pos_iterator &it) const
const_pos_iterator operator-(int n) const
const_iterator end() const
const_pos_iterator end_pos() const
TSignedSeqPos operator-(const const_pos_iterator &it) const
position_type GetLength(void) const
const element_proxy operator[](size_type pos) const
const_pos_iterator & operator+=(int n)
const_pos_iterator & operator--()
const_iterator operator++(int)
void swap(CAttrRangeCollection &c)
const attr_type value_type
const_iterator find(const_iterator first, const_iterator last, position_type pos) const
const_iterator(const const_iterator &it)
vec_const_iterator m_itEl
const_pos_iterator(const const_pos_iterator &it)
bool operator==(const const_iterator &it) const
element_proxy(vec_const_iterator it)
TElementVector::size_type size_type
contains one extra element that is used to represent open end pos
position_type GetTo() const
const_pos_iterator operator+(int n) const
const_iterator operator--(int)
element_proxy(const element_proxy &ep)
void push_back(const attr_type &attr)
TElementVector::const_iterator vec_const_iterator
const_iterator & operator--()
const attr_type * pointer
bool operator<=(const const_pos_iterator &it) const
const_iterator find(position_type pos) const
bool RefEquals(const element_proxy &ep) const
const attr_type & operator*() const
bool operator==(const const_pos_iterator &it) const
const_pos_iterator & operator-=(int n)
TSignedSeqPos difference_type
const_iterator m_range_it
const_iterator begin() const
const element_proxy * operator->() const
vector< SElement > TElementVector
SAttrRangeCollectionElement< Attr, Position > SElement
bool operator>(const const_pos_iterator &it) const
vec_const_iterator x_Find(vec_const_iterator first, vec_const_iterator last, position_type pos) const
CAttrRangeCollection< attr_type, position_type > TThisType
TSeqPos GetToOpen() const
const attr_type & reference
const_pos_iterator & operator++()
position_type GetToOpen() const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
unsigned int
A callback function used to compare two keys in a database.
The NCBI C++/STL use hints.
TAttrRangeCollection represents a sequence of continious attributed intervals.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4