ATLAS Offline Software
Loading...
Searching...
No Matches
python.ConfigBlock.ConfigBlockDependency Class Reference
Collaboration diagram for python.ConfigBlock.ConfigBlockDependency:

Public Member Functions

 __eq__ (self, name)
 __str__ (self)
 __repr__ (self)

Public Attributes

 blockName = name

Static Public Attributes

bool required = True

Detailed Description

Class encoding a blocks dependence on other blocks.

Definition at line 74 of file ConfigBlock.py.

Member Function Documentation

◆ __eq__()

python.ConfigBlock.ConfigBlockDependency.__eq__ ( self,
name )

Definition at line 81 of file ConfigBlock.py.

81 def __eq__(self, name):
82 return self.blockName == name
83
84

◆ __repr__()

python.ConfigBlock.ConfigBlockDependency.__repr__ ( self)

Definition at line 89 of file ConfigBlock.py.

89 def __repr__(self):
90 return f'ConfigBlockDependency(blockName="{self.blockName}", required={self.required})'
91
92

◆ __str__()

python.ConfigBlock.ConfigBlockDependency.__str__ ( self)

Definition at line 85 of file ConfigBlock.py.

85 def __str__(self):
86 return self.blockName
87
88

Member Data Documentation

◆ blockName

python.ConfigBlock.ConfigBlockDependency.blockName = name

Definition at line 82 of file ConfigBlock.py.

◆ required

bool python.ConfigBlock.ConfigBlockDependency.required = True
static

Definition at line 78 of file ConfigBlock.py.


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