Public Member Functions | |
def | __eq__ |
def | __init__ |
def | __repr__ |
Public Attributes | |
compname | |
depth | |
mother | |
name |
Structure used to identify a directory in the walked tree, It carries the name and depth information.
Definition at line 354 of file dqm_interfaces.py.
def dqm_interfaces::DirID::__init__ | ( | self, | |
name, | |||
depth, | |||
mother = "" |
|||
) |
Definition at line 358 of file dqm_interfaces.py.
def dqm_interfaces::DirID::__eq__ | ( | self, | |
dirid | |||
) |
Definition at line 363 of file dqm_interfaces.py.
00364 : 00365 depth2=dirid.depth 00366 compname2=dirid.compname 00367 name2=dirid.name 00368 is_equal = False 00369 #if self.name in name2 or name2 in self.name: 00370 if search(self.compname,name2)!=None or search(compname2,self.name)!=None: 00371 is_equal = self.depth*depth2 <0 or self.depth==depth2 00372 if len(self.mother)*(dirid.mother)>0: 00373 is_equal = is_equal and self.mother==dirid.mother 00374 return is_equal
def dqm_interfaces::DirID::__repr__ | ( | self | ) |
Definition at line 375 of file dqm_interfaces.py.
Definition at line 358 of file dqm_interfaces.py.
Definition at line 358 of file dqm_interfaces.py.
Definition at line 358 of file dqm_interfaces.py.
Definition at line 358 of file dqm_interfaces.py.