ATLAS Offline Software
Public Member Functions | Static Private Attributes | List of all members
GenerateMenuMT.Singleton Class Reference
Inheritance diagram for GenerateMenuMT.Singleton:
Collaboration diagram for GenerateMenuMT.Singleton:

Public Member Functions

def __call__ (cls, *args, **kwargs)
 
def clear (cls)
 

Static Private Attributes

 _instances
 

Detailed Description

Definition at line 48 of file GenerateMenuMT.py.

Member Function Documentation

◆ __call__()

def GenerateMenuMT.Singleton.__call__ (   cls,
args,
**  kwargs 
)

Definition at line 50 of file GenerateMenuMT.py.

50  def __call__(cls, *args, **kwargs):
51  if cls not in cls._instances:
52  cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
53  return cls._instances[cls]
54 

◆ clear()

def GenerateMenuMT.Singleton.clear (   cls)

Definition at line 55 of file GenerateMenuMT.py.

55  def clear(cls):
56  cls._instances.clear()
57 
58 

Member Data Documentation

◆ _instances

GenerateMenuMT.Singleton._instances
staticprivate

Definition at line 49 of file GenerateMenuMT.py.


The documentation for this class was generated from the following file:
VKalVrtAthena::varHolder_detail::clear
void clear(T &var)
Definition: NtupleVars.h:48