ATLAS Offline Software
Loading...
Searching...
No Matches
python.root_pickle.Saver Class Reference
Inheritance diagram for python.root_pickle.Saver:
Collaboration diagram for python.root_pickle.Saver:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self)
 add (self, o)

Private Attributes

int __chunksize = 65536
int __i = self.__chunksize
list __chunks = []

Detailed Description

Definition at line 273 of file root_pickle.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

python.root_pickle.Saver.__init__ ( self)

Definition at line 274 of file root_pickle.py.

274 def __init__ (self):
275 self.__chunksize = 65536
276 self.__i = self.__chunksize
277 self.__chunks = []
278 return
279

Member Function Documentation

◆ add()

python.root_pickle.Saver.add ( self,
o )

Definition at line 280 of file root_pickle.py.

280 def add (self, o):
281 if self.__i >= self.__chunksize:
282 self.__chunks.append ([None] * self.__chunksize)
283 self.__i = 0
284 self.__chunks[-1][self.__i] = o
285 self.__i += 1
286 return
287
288
bool add(const std::string &hname, TKey *tobj)
Definition fastadd.cxx:55

Member Data Documentation

◆ __chunks

list python.root_pickle.Saver.__chunks = []
private

Definition at line 277 of file root_pickle.py.

◆ __chunksize

python.root_pickle.Saver.__chunksize = 65536
private

Definition at line 275 of file root_pickle.py.

◆ __i

int python.root_pickle.Saver.__i = self.__chunksize
private

Definition at line 276 of file root_pickle.py.


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