10 #ifndef _STRUS_INDEX_HPP_INCLUDED
11 #define _STRUS_INDEX_HPP_INCLUDED
14 #pragma warning(disable:4290)
51 return m_end - m_start;
55 return m_start < m_end;
59 :m_start(0),m_end(0){}
61 :m_start(start_),m_end(end_){}
63 :m_start(o.m_start),m_end(o.m_end){}
IndexRange(Index start_, Index end_)
Definition: index.hpp:60
int32_t Index
Number type generally used for locally counted indices.
Definition: index.hpp:29
int len() const
Definition: index.hpp:49
bool defined() const
Definition: index.hpp:53
Index end() const
Definition: index.hpp:45
IndexRange()
Definition: index.hpp:58
IndexRange(const IndexRange &o)
Definition: index.hpp:62
int64_t GlobalCounter
Number type generally used for indices globally shared between different instances of strus...
Definition: index.hpp:32
Index start() const
Definition: index.hpp:41