TIMBER  beta
Tree Interface for Making Binned Events with RDataFrame
Public Member Functions | Public Attributes | List of all members
MemoryFile Class Reference

Stores file in memory with access similar to how a file would be written and read on disk. More...

Public Member Functions

def __init__ (self)
 Create empty file. More...
 
def write (self, inStr)
 Write string to the file. More...
 

Public Attributes

 str
 str String stored in memory. More...
 

Detailed Description

Stores file in memory with access similar to how a file would be written and read on disk.

Intention is just to have a string in memory with the same methods as a standard python I/O file so that TIMBER doesn't care which one it is using (ie. they both have "write" methods).

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Create empty file.

Stores file in memory with access similar to how a file would be written and read on disk. Intention is just to have a string in memory with the same methods as a standard python I/O file so that TIMBER doesn't care which one it is using (ie. they both have "write" methods).

Member Function Documentation

◆ write()

def write (   self,
  inStr 
)

Write string to the file.

Parameters
inStr(str): String to write.

Member Data Documentation

◆ str

str

str String stored in memory.


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