Loading...
Searching...
No Matches
ledger::mask_t Class Reference

#include <mask.h>

Public Member Functions

mask_tassign_glob (const string &other)
 
bool empty () const
 
 mask_t ()
 
 mask_t (const mask_t &m)
 
 mask_t (const string &pattern)
 
bool match (const string &text) const
 
bool operator< (const mask_t &other) const
 
mask_toperator= (const string &other)
 
bool operator== (const mask_t &other) const
 
string str () const
 
bool valid () const
 
 ~mask_t () throw ()
 

Public Attributes

boost::regex expr
 

Detailed Description

Definition at line 53 of file mask.h.

Constructor & Destructor Documentation

◆ mask_t() [1/3]

ledger::mask_t::mask_t ( const string & pattern)
explicit

◆ mask_t() [2/3]

ledger::mask_t::mask_t ( )
inline

Definition at line 64 of file mask.h.

References TRACE_CTOR.

◆ mask_t() [3/3]

ledger::mask_t::mask_t ( const mask_t & m)
inline

Definition at line 67 of file mask.h.

References TRACE_CTOR.

◆ ~mask_t()

ledger::mask_t::~mask_t ( )
throw ( )
inline

Definition at line 70 of file mask.h.

References TRACE_DTOR.

Member Function Documentation

◆ assign_glob()

mask_t & ledger::mask_t::assign_glob ( const string & other)

◆ empty()

bool ledger::mask_t::empty ( ) const
inline

Definition at line 98 of file mask.h.

References expr.

Referenced by str().

+ Here is the caller graph for this function:

◆ match()

bool ledger::mask_t::match ( const string & text) const
inline

Definition at line 84 of file mask.h.

References DEBUG, expr, and str().

+ Here is the call graph for this function:

◆ operator<()

bool ledger::mask_t::operator< ( const mask_t & other) const
inline

Definition at line 77 of file mask.h.

References ledger::downcast(), and expr.

+ Here is the call graph for this function:

◆ operator=()

mask_t & ledger::mask_t::operator= ( const string & other)

◆ operator==()

bool ledger::mask_t::operator== ( const mask_t & other) const
inline

Definition at line 80 of file mask.h.

References ledger::downcast(), and expr.

+ Here is the call graph for this function:

◆ str()

string ledger::mask_t::str ( ) const
inline

Definition at line 102 of file mask.h.

References assert, ledger::downcast(), empty(), ledger::empty_string, and expr.

Referenced by match().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ valid()

bool ledger::mask_t::valid ( ) const
inline

Definition at line 119 of file mask.h.

References DEBUG, and expr.

Member Data Documentation

◆ expr

boost::regex ledger::mask_t::expr

Definition at line 59 of file mask.h.

Referenced by empty(), match(), operator<(), operator==(), str(), and valid().


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