Add valid_group_characteristic
This commit is contained in:
parent
a67fcac5fc
commit
2d1b318d0f
@ -128,6 +128,9 @@ public:
|
|||||||
bool group_characteristics_full() const {
|
bool group_characteristics_full() const {
|
||||||
return m_group_characteristics.full();
|
return m_group_characteristics.full();
|
||||||
}
|
}
|
||||||
|
bool valid_group_characteristic(group_id_t group) const {
|
||||||
|
return group < m_group_characteristics.size();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Add new group characteristic
|
* @brief Add new group characteristic
|
||||||
@ -147,7 +150,9 @@ public:
|
|||||||
*
|
*
|
||||||
* @ret @c true if the number of weighted groups in the ruleset equals @c g_max_wgroups, @c false otherwise
|
* @ret @c true if the number of weighted groups in the ruleset equals @c g_max_wgroups, @c false otherwise
|
||||||
*/
|
*/
|
||||||
bool weighted_groups_full() const;
|
bool weighted_groups_full() const {
|
||||||
|
return m_weighted_groups.full();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Add new weighted group
|
* @brief Add new weighted group
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user