|
ft_irc 1.0
|
Implements the LIST command. [詳解]
#include <ListCommand.hpp>


公開メンバ関数 | |
| ListCommand (Server *server) | |
| Constructs a ListCommand object. | |
| void | execute (Client *client, const std::vector< std::string > &args) |
| Executes the LIST command. | |
基底クラス ICommand に属する継承公開メンバ関数 | |
| ICommand (Server *server) | |
| Constructs an ICommand object, associating it with a server instance. | |
| virtual | ~ICommand () |
| Virtual destructor for ICommand, ensuring proper cleanup of derived classes. | |
その他の継承メンバ | |
基底クラス ICommand に属する継承限定公開変数類 | |
| Server * | _server |
| Pointer to the IRC server instance. | |
Implements the LIST command.
This command is used to list channels and their topics. If no arguments are given, all channels are listed. If specific channel names are provided, only those channels are listed.
ListCommand.hpp の 20 行目に定義があります。
| ListCommand::ListCommand | ( | Server * | server | ) |
Constructs a ListCommand object.
| server | A pointer to the Server instance. |
ListCommand.cpp の 18 行目に定義があります。
|
virtual |
Executes the LIST command.
| client | A pointer to the Client that issued the command. |
| args | A vector of strings containing the command arguments. args[0] (optional) can be a comma-separated list of channel names. |
ICommandを実装しています。
ListCommand.cpp の 20 行目に定義があります。