The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Regex Class Reference

#include <m_regex.h>

Inheritance diagram for Regex:

Inheritance graph
[legend]
Collaboration diagram for Regex:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~Regex ()
virtual bool Matches (const std::string &text)=0
const std::stringGetRegexString () const

Protected Member Functions

 Regex (const std::string &rx, InspIRCd *Me)

Protected Attributes

std::string regex_string
InspIRCdServerInstance

Detailed Description

Definition at line 19 of file m_regex.h.


Constructor & Destructor Documentation

Regex::Regex const std::string rx,
InspIRCd Me
[inline, protected]
 

Definition at line 26 of file m_regex.h.

virtual Regex::~Regex  )  [inline, virtual]
 

Definition at line 32 of file m_regex.h.


Member Function Documentation

const std::string& Regex::GetRegexString  )  const [inline]
 

Definition at line 38 of file m_regex.h.

References regex_string.

virtual bool Regex::Matches const std::string text  )  [pure virtual]
 

Implemented in GlobRegex, PCRERegex, POSIXRegex, and TRERegex.

Referenced by RLine::Matches().


Member Data Documentation

std::string Regex::regex_string [protected]
 

Definition at line 22 of file m_regex.h.

Referenced by GetRegexString().

InspIRCd* Regex::ServerInstance [protected]
 

Definition at line 23 of file m_regex.h.


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