The Gaudi Framework  v36r1 (3e2fb5a8)
GaudiPython.GaudiAlgs.objectmethod Class Reference
Inheritance diagram for GaudiPython.GaudiAlgs.objectmethod:
Collaboration diagram for GaudiPython.GaudiAlgs.objectmethod:

Public Member Functions

def __init__ (self, m)
 
def __call__ (self, *args)
 

Public Attributes

 method
 

Detailed Description

Definition at line 927 of file GaudiAlgs.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.GaudiAlgs.objectmethod.__init__ (   self,
  m 
)

Definition at line 928 of file GaudiAlgs.py.

928  def __init__(self, m):
929  self.method = m
930 

Member Function Documentation

◆ __call__()

def GaudiPython.GaudiAlgs.objectmethod.__call__ (   self,
args 
)

Definition at line 931 of file GaudiAlgs.py.

931  def __call__(self, *args):
932  print(args)
933  return self.method(*args)
934 
935 
936 GaudiAlgo._Base = _GaudiAlgorithm
937 HistoAlgo._Base = _GaudiHistoAlg
938 TupleAlgo._Base = _GaudiTupleAlg
939 
940 # initialize is 'unique' method :
941 GaudiAlgo.initialize = _initialize_
942 HistoAlgo.initialize = _initialize_histo_
943 TupleAlgo.initialize = _initialize_tuple_
944 
945 

Member Data Documentation

◆ method

GaudiPython.GaudiAlgs.objectmethod.method

Definition at line 929 of file GaudiAlgs.py.


The documentation for this class was generated from the following file:
Counter.__call__
__call__
Definition: Counter.py:40