abs_rc_range_t

Defined in header: <ixion/address.hpp>

struct abs_rc_range_t

Public Types

enum init_invalid

Values:

enumerator invalid

Public Functions

abs_rc_range_t()
abs_rc_range_t(init_invalid)
abs_rc_range_t(const abs_rc_range_t &other)
abs_rc_range_t(const abs_range_t &other)
bool valid() const
void set_all_columns()

Expand the range horizontally to include all columns. The row range will remain unchanged.

void set_all_rows()

Expand the range vertically to include all rows. The column range will remain unchanged.

bool all_columns() const
Returns:

true if the range is unspecified in the horizontal direction i.e. all columns are selected, false otherwise.

bool all_rows() const
Returns:

true if the range is unspecified in the vertical direction i.e. all rows are selected, false otherwise.

bool contains(const abs_rc_address_t &addr) const

Check whether or not a given address is contained within this range.

std::strong_ordering operator<=>(const abs_rc_range_t &r) const
bool operator==(const abs_rc_range_t &r) const

Public Members

abs_rc_address_t first
abs_rc_address_t last
struct hash

Public Functions

size_t operator()(const abs_rc_range_t &range) const