Add valid_group_characteristic
This commit is contained in:
parent
14655400e3
commit
77d7b73365
@ -128,6 +128,9 @@ public:
|
||||
bool group_characteristics_full() const {
|
||||
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
|
||||
@ -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
|
||||
*/
|
||||
bool weighted_groups_full() const;
|
||||
bool weighted_groups_full() const {
|
||||
return m_weighted_groups.full();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Add new weighted group
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user