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

#include <Topic.hpp>

Inheritance diagram for Topic:
Inheritance graph
Collaboration diagram for Topic:
Collaboration graph

Public Member Functions

 Topic ()
 
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

◆ Topic()

Topic::Topic ( )
inline

Member Function Documentation

◆ execute()

void Topic::execute ( )
inlinevirtual

Implements Command.

Here is the call graph for this function:

◆ validate()

bool Topic::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: