The Gaudi Framework  master (fb3055f7)
Loading...
Searching...
No Matches
ControlFlow.ControlFlowBool Class Reference
Inheritance diagram for ControlFlow.ControlFlowBool:
Collaboration diagram for ControlFlow.ControlFlowBool:

Public Member Functions

 __init__ (self, value)
 __and__ (self, rhs)
 __or__ (self, rhs)
 __invert__ (self)
 __repr__ (self)
Public Member Functions inherited from ControlFlow.ControlFlowNode
 __and__ (self, rhs)
 __or__ (self, rhs)
 __invert__ (self)
 __rshift__ (self, rhs)
 visitNode (self, visitor)
 __eq__ (self, other)
 __hash__ (self)
 getFullName (self)

Public Attributes

 value = value

Additional Inherited Members

Protected Member Functions inherited from ControlFlow.ControlFlowNode
 _visitSubNodes (self, visitor)
Protected Attributes inherited from ControlFlow.ControlFlowNode
 _fullname = makeSequences(self).getFullName()

Detailed Description

Definition at line 86 of file ControlFlow.py.

Constructor & Destructor Documentation

◆ __init__()

ControlFlow.ControlFlowBool.__init__ ( self,
value )

Definition at line 87 of file ControlFlow.py.

87 def __init__(self, value):
88 self.value = value
89

Member Function Documentation

◆ __and__()

ControlFlow.ControlFlowBool.__and__ ( self,
rhs )

Definition at line 90 of file ControlFlow.py.

90 def __and__(self, rhs):
91 return rhs if self.value else self
92

◆ __invert__()

ControlFlow.ControlFlowBool.__invert__ ( self)

Definition at line 96 of file ControlFlow.py.

96 def __invert__(self):
97 return CFFalse if self.value else CFTrue
98

◆ __or__()

ControlFlow.ControlFlowBool.__or__ ( self,
rhs )

Definition at line 93 of file ControlFlow.py.

93 def __or__(self, rhs):
94 return self if self.value else rhs
95

◆ __repr__()

ControlFlow.ControlFlowBool.__repr__ ( self)

Definition at line 99 of file ControlFlow.py.

99 def __repr__(self):
100 return "CFTrue" if self.value else "CFFalse"
101
102

Member Data Documentation

◆ value

ControlFlow.ControlFlowBool.value = value

Definition at line 88 of file ControlFlow.py.


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