All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
UpdateCoreServices.WarningMoveMembers Class Reference

Public Member Functions

def __init__
 
def search
 

Public Attributes

 pattern
 
 regex
 

Detailed Description

Definition at line 142 of file UpdateCoreServices.py.

Constructor & Destructor Documentation

def UpdateCoreServices.WarningMoveMembers.__init__ (   self)

Definition at line 144 of file UpdateCoreServices.py.

145  def __init__(self):
146  self.pattern = r"(\w*)(\.|->)(Efield|ElectronLifetime|DriftVelocity|BirksCorrection|ModBoxCorrection|Temperature|Density|Eloss|ElossVar)\s*\("
self.regex = re.compile(self.pattern)

Member Function Documentation

def UpdateCoreServices.WarningMoveMembers.search (   self,
  s 
)

Definition at line 147 of file UpdateCoreServices.py.

148  def search(self, s):
149  match = self.regex.search(s)
150  if not match: return None
151  varname = match.group(1).lower()
152  if 'detp' in varname:
153  return None
return match

Member Data Documentation

UpdateCoreServices.WarningMoveMembers.pattern

Definition at line 145 of file UpdateCoreServices.py.

UpdateCoreServices.WarningMoveMembers.regex

Definition at line 146 of file UpdateCoreServices.py.


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