The Gaudi Framework  master (37c0b60a)
ControlFlow.ControlFlowBool Class Reference
Inheritance diagram for ControlFlow.ControlFlowBool:
Collaboration diagram for ControlFlow.ControlFlowBool:

Public Member Functions

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

Public Attributes

 value
 

Detailed Description

Definition at line 86 of file ControlFlow.py.

Constructor & Destructor Documentation

◆ __init__()

def 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__()

def ControlFlow.ControlFlowBool.__and__ (   self,
  rhs 
)

Reimplemented from ControlFlow.ControlFlowNode.

Definition at line 90 of file ControlFlow.py.

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

◆ __invert__()

def ControlFlow.ControlFlowBool.__invert__ (   self)

Reimplemented from ControlFlow.ControlFlowNode.

Definition at line 96 of file ControlFlow.py.

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

◆ __or__()

def ControlFlow.ControlFlowBool.__or__ (   self,
  rhs 
)

Reimplemented from ControlFlow.ControlFlowNode.

Definition at line 93 of file ControlFlow.py.

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

◆ __repr__()

def 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

Definition at line 88 of file ControlFlow.py.


The documentation for this class was generated from the following file:
GaudiPartProp.decorators.__repr__
__repr__
decorate the vector of properties
Definition: decorators.py:173