Skip to content
Snippets Groups Projects
Commit ab3c178a authored by jdh8d's avatar jdh8d
Browse files

No commit message

No commit message
parent 8a73fe69
No related branches found
No related tags found
No related merge requests found
......@@ -44,14 +44,16 @@ class Range_t
Range_t(RangeAddress_t p_s, RangeAddress_t p_e) : m_start(p_s), m_end(p_e) { }
Range_t() : m_start(0), m_end(0) { }
RangeAddress_t GetStart() const { return m_start; }
RangeAddress_t GetEnd() const { return m_end; }
virtual RangeAddress_t GetStart() const { return m_start; }
virtual RangeAddress_t GetEnd() const { return m_end; }
virtual RangeAddress_t SetStart(RangeAddress_t s) { m_start=s; }
virtual RangeAddress_t SetEnd(RangeAddress_t e) { m_end=e; }
bool Is2ByteRange()
virtual bool Is2ByteRange()
{
return (m_end - m_start) == 2;
};
bool Is5ByteRange()
virtual bool Is5ByteRange()
{
return (m_end - m_start) == 5;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment