Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
warnings_filter.WarningsFilter Class Reference
+ Inheritance diagram for warnings_filter.WarningsFilter:
+ Collaboration diagram for warnings_filter.WarningsFilter:

Public Member Functions

def __init__
 
def filter
 

Private Attributes

 _expressions
 
 _silent
 

Detailed Description

Warnings filter.

Args:
    expressions: List of regular expressions.
    silent: If true, warning is hidden, otherwise it is shown as INFO.
    name: Filter name.

Definition at line 38 of file warnings_filter.py.

View newest version in sPHENIX GitHub at line 38 of file warnings_filter.py

Constructor & Destructor Documentation

def warnings_filter.WarningsFilter.__init__ (   self,
  expressions 
)

Definition at line 47 of file warnings_filter.py.

View newest version in sPHENIX GitHub at line 47 of file warnings_filter.py

Member Function Documentation

def warnings_filter.WarningsFilter.filter (   self,
  record 
)

Definition at line 53 of file warnings_filter.py.

View newest version in sPHENIX GitHub at line 53 of file warnings_filter.py

References warnings_filter.WarningsFilter._expressions, warnings_filter.WarningsFilter._silent, print(), str, and parse_cmake_options.type.

+ Here is the call graph for this function:

Member Data Documentation

warnings_filter.WarningsFilter._expressions
private

Definition at line 50 of file warnings_filter.py.

View newest version in sPHENIX GitHub at line 50 of file warnings_filter.py

Referenced by warnings_filter.WarningsFilter.filter().

warnings_filter.WarningsFilter._silent
private

Definition at line 51 of file warnings_filter.py.

View newest version in sPHENIX GitHub at line 51 of file warnings_filter.py

Referenced by warnings_filter.WarningsFilter.filter().


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