IRC SERVER
The goal of this project is to make you write your own IRC server.
Names Class Reference

#include <Names.hpp>

Inheritance diagram for Names:
Inheritance graph
Collaboration diagram for Names:
Collaboration graph

Public Member Functions

 Names ()
 
void send_channel (std::string &name)
 
void execute ()
 
- Public Member Functions inherited from Command
std::string getName () const
 
std::string getDescription () const
 
std::string getUsage () const
 
std::map< size_t, std::string > getExample () const
 
ClientgetSender () const
 
void setSender (Client *sender)
 
void setServer (Server *server)
 
void setMessage (Message *message)
 
bool hasOpe (void)
 
bool needsAuth (void)
 
virtual bool validate (void)
 
virtual std::vector< Messageparser (Message *message)
 
 Command ()
 
void missingOpe (void)
 
virtual ~Command ()
 

Additional Inherited Members

- Protected Attributes inherited from Command
std::string _name
 
std::string _description
 
std::string _usage
 
bool _is_ope
 
bool _needs_auth
 
std::map< size_t, std::string > _example
 
Client_sender
 
Server_server
 
Message_message
 
size_t _sender_index
 

Constructor & Destructor Documentation

◆ Names()

Names::Names ( )
inline

Member Function Documentation

◆ execute()

void Names::execute ( )
inlinevirtual

Implements Command.

Here is the call graph for this function:

◆ send_channel()

void Names::send_channel ( std::string &  name)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: