libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::filter Class Reference

Instrumentation filter. More...

#include <filter.hpp>

+ Inheritance diagram for csdbg::filter:
+ Collaboration diagram for csdbg::filter:

Public Member Functions

 filter (const i8 *, bool, bool=true)
 Object constructor. More...
 
virtual ~filter ()
 Object destructor. More...
 
virtual bool mode () const
 Get the filter type. More...
 
virtual filterset_expr (const i8 *, bool)
 Set the filter expression. More...
 
virtual filterset_mode (bool)
 Set the filter type. More...
 
virtual bool apply (const i8 *) const
 Apply the filter to a function signature or a module absolute path. More...
 
- Public Member Functions inherited from csdbg::object
virtual ~object ()=0
 To be implemented. More...
 
virtual const i8class_name () const
 Query the class name of an object descending from csdbg::object. More...
 

Protected Member Functions

 filter (const filter &)
 Object copy constructor. More...
 
virtual filterclone () const
 Object virtual copy constructor. More...
 
virtual filteroperator= (const filter &)
 Assignment operator. More...
 

Protected Attributes

regex_t m_expr
 Filter expression. More...
 
bool m_mode
 Filter type switch. More...
 

Friends

template<class F >
class node
 
template<class F >
class chain
 

Detailed Description

Instrumentation filter.

An object of this class is used to filter out whole modules or sets of methods by matching a POSIX extended regular expression against their absolute path or their signature, respectively

Todo:
[ ? ] Make the object copyable

Definition at line 23 of file filter.hpp.


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