ATLAS Offline Software
Public Member Functions | List of all members
python.AtlasSemantics.VarHandleArraySematics._ItemSemantics Class Reference
Inheritance diagram for python.AtlasSemantics.VarHandleArraySematics._ItemSemantics:
Collaboration diagram for python.AtlasSemantics.VarHandleArraySematics._ItemSemantics:

Public Member Functions

def __init__ (self)
 
def store (self, value)
 

Detailed Description

Semantics for an item (DataHandle) in a VarHandleKeyArray converting to string

Definition at line 80 of file AtlasSemantics.py.

Constructor & Destructor Documentation

◆ __init__()

def python.AtlasSemantics.VarHandleArraySematics._ItemSemantics.__init__ (   self)

Definition at line 83 of file AtlasSemantics.py.

83  def __init__(self):
84  super().__init__("std::string")
85 

Member Function Documentation

◆ store()

def python.AtlasSemantics.VarHandleArraySematics._ItemSemantics.store (   self,
  value 
)

Definition at line 86 of file AtlasSemantics.py.

86  def store(self, value):
87  if isinstance(value, DataHandle):
88  return value.Path
89  elif isinstance(value, str):
90  return value
91  else:
92  raise TypeError(f"cannot assign {value!r} ({type(value)}) to {self.name}"
93  ", expected string or DataHandle")
94 
95  def __init__(self, cpp_type):

The documentation for this class was generated from the following file:
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:69
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18