Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
Rewrite Struct Reference
Collaboration diagram for Rewrite:
Collaboration graph
[legend]

Public Member Functions

bool Matches (const std::vector< Anope::string > &message)
 
Anope::string Process (CommandSource &source, const std::vector< Anope::string > &params)
 

Static Public Member Functions

static RewriteFind (const Anope::string &client, const Anope::string &cmd)
 
static RewriteMatch (const Anope::string &client, const std::vector< Anope::string > &params)
 

Data Fields

Anope::string client
 
Anope::string source_message
 
Anope::string target_message
 
Anope::string desc
 

Static Public Attributes

static std::vector< Rewriterewrites
 

Detailed Description

Definition at line 10 of file m_rewrite.cpp.

Member Function Documentation

static Rewrite* Rewrite::Find ( const Anope::string client,
const Anope::string cmd 
)
inlinestatic
static Rewrite* Rewrite::Match ( const Anope::string client,
const std::vector< Anope::string > &  params 
)
inlinestatic

Definition at line 87 of file m_rewrite.cpp.

References client, Anope::string::empty(), Anope::string::equals_ci(), and Matches().

Referenced by RewriteCommand::Execute().

bool Rewrite::Matches ( const std::vector< Anope::string > &  message)
inline

Definition at line 14 of file m_rewrite.cpp.

References sepstream::GetTokens().

Referenced by Match().

Anope::string Rewrite::Process ( CommandSource source,
const std::vector< Anope::string > &  params 
)
inline

Field Documentation

Anope::string Rewrite::client

Definition at line 12 of file m_rewrite.cpp.

Referenced by RewriteCommand::Execute(), Find(), Match(), and ModuleRewrite::OnReload().

Anope::string Rewrite::desc
std::vector< Rewrite > Rewrite::rewrites
static

Definition at line 72 of file m_rewrite.cpp.

Referenced by ModuleRewrite::OnReload().

Anope::string Rewrite::source_message

Definition at line 12 of file m_rewrite.cpp.

Referenced by RewriteCommand::Execute(), Find(), and ModuleRewrite::OnReload().

Anope::string Rewrite::target_message

Definition at line 12 of file m_rewrite.cpp.

Referenced by RewriteCommand::OnHelp(), and ModuleRewrite::OnReload().


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