IDA C++ SDK 9.2
Loading...
Searching...
No Matches
diff_range_t Struct Reference

A range of the difference source. More...

#include <diff3.hpp>

Inheritance diagram for diff_range_t:
diff_region_t

Public Member Functions

 diff_range_t (diffpos_t s=0, diffpos_t e=0)
bool empty () const
void clear ()
bool contains (diffpos_t p) const
void set_start (diffpos_t p)
void set_end (diffpos_t p)
void intersect (const diff_range_t &r)
int compare (const diff_range_t &r) const
bool operator== (const diff_range_t &r) const
bool operator!= (const diff_range_t &r) const

Public Attributes

diffpos_t start
diffpos_t end

Detailed Description

A range of the difference source.

This is just a pair of start and end positions. The end position is excluded, as usual.

Constructor & Destructor Documentation

◆ diff_range_t()

diff_range_t::diff_range_t ( diffpos_t s = 0,
diffpos_t e = 0 )
inline

Member Function Documentation

◆ empty()

bool diff_range_t::empty ( ) const
inline

◆ clear()

void diff_range_t::clear ( )
inline

◆ contains()

bool diff_range_t::contains ( diffpos_t p) const
inline

◆ set_start()

void diff_range_t::set_start ( diffpos_t p)
inline

◆ set_end()

void diff_range_t::set_end ( diffpos_t p)
inline

◆ intersect()

void diff_range_t::intersect ( const diff_range_t & r)
inline

◆ compare()

int diff_range_t::compare ( const diff_range_t & r) const
inline

◆ operator==()

bool diff_range_t::operator== ( const diff_range_t & r) const
inline

◆ operator!=()

bool diff_range_t::operator!= ( const diff_range_t & r) const
inline

Member Data Documentation

◆ start

diffpos_t diff_range_t::start

◆ end

diffpos_t diff_range_t::end

The documentation for this struct was generated from the following file: