#include <modechange.h>
|
typedef std::vector< Change > | List |
|
A list of mode changes that can be applied on a Channel or User
◆ clear()
void Modes::ChangeList::clear |
( |
| ) |
|
|
inline |
Remove all mode changes from this stack
◆ empty()
bool Modes::ChangeList::empty |
( |
| ) |
const |
|
inline |
◆ getlist() [1/2]
List& Modes::ChangeList::getlist |
( |
| ) |
|
|
inline |
◆ getlist() [2/2]
const List& Modes::ChangeList::getlist |
( |
| ) |
const |
|
inline |
◆ push() [1/3]
Add a new mode to be changed to this ChangeList
- Parameters
-
◆ push() [2/3]
void Modes::ChangeList::push |
( |
List::const_iterator |
first, |
|
|
List::const_iterator |
last |
|
) |
| |
|
inline |
Insert multiple mode changes to the ChangeList
- Parameters
-
first | Iterator to the first change to insert |
last | Iterator to the first change to not insert |
◆ push() [3/3]
void Modes::ChangeList::push |
( |
ModeHandler * |
mh, |
|
|
bool |
adding, |
|
|
const std::string & |
param = std::string() |
|
) |
| |
|
inline |
Add a new mode to be changed to this ChangeList
- Parameters
-
mh | Mode handler |
adding | True if this mode is being set, false if removed |
param | Mode parameter |
◆ push_add()
void Modes::ChangeList::push_add |
( |
ModeHandler * |
mh, |
|
|
const std::string & |
param = std::string() |
|
) |
| |
|
inline |
Add a new mode to this ChangeList which will be set on the target
- Parameters
-
mh | Mode handler |
param | Mode parameter |
◆ push_remove()
void Modes::ChangeList::push_remove |
( |
ModeHandler * |
mh, |
|
|
const std::string & |
param = std::string() |
|
) |
| |
|
inline |
Add a new mode to this ChangeList which will be unset from the target
- Parameters
-
mh | Mode handler |
param | Mode parameter |
◆ size()
List::size_type Modes::ChangeList::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: