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

#include <Part.hpp>

Inheritance diagram for Part:
Inheritance graph
Collaboration diagram for Part:
Collaboration graph

Public Member Functions

 Part ()
 
bool validate (void)
 
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 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

◆ Part()

Part::Part ( )
inline

Member Function Documentation

◆ execute()

void Part::execute ( )
inlinevirtual

Implements Command.

Here is the call graph for this function:

◆ validate()

bool Part::validate ( void  )
inlinevirtual

Reimplemented from Command.

Here is the call graph for this function:

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