All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
lib.glob.NTupleProc Class Reference
Inheritance diagram for lib.glob.NTupleProc:

Public Member Functions

def __init__
 
def __call__
 
def __bool__
 
def __getstate__
 
def __setstate__
 

Public Attributes

 name
 
 f
 

Detailed Description

Definition at line 11 of file glob.py.

Constructor & Destructor Documentation

def lib.glob.NTupleProc.__init__ (   self,
  f = None,
  name = "None" 
)

Definition at line 12 of file glob.py.

12 
13  def __init__(self, f=None, name="None"):
14  self.name = name
15  self.f = f

Member Function Documentation

def lib.glob.NTupleProc.__bool__ (   self)

Definition at line 19 of file glob.py.

19 
20  def __bool__(self):
21  return self.f is not None
def lib.glob.NTupleProc.__call__ (   self,
  df 
)

Definition at line 16 of file glob.py.

16 
17  def __call__(self, df):
18  return self.f(df)
def lib.glob.NTupleProc.__getstate__ (   self)

Definition at line 23 of file glob.py.

23 
24  def __getstate__(self):
25  return dill.dumps({"f": self.f, "name": self.name})
def __getstate__
Definition: glob.py:23
def lib.glob.NTupleProc.__setstate__ (   self,
  state 
)

Definition at line 26 of file glob.py.

26 
27  def __setstate__(self, state):
28  data = dill.loads(state)
29  self.f = data["f"]
30  self.name = data["name"]
31 
32 
def __setstate__
Definition: glob.py:26

Member Data Documentation

lib.glob.NTupleProc.f

Definition at line 14 of file glob.py.

lib.glob.NTupleProc.name

Definition at line 13 of file glob.py.


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