carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | List of all members
carputils.carpio.filelike.FileLikeMixin Class Reference

Implements a file-like mixin that essentially allows self-closing when exiting a "with-block". More...

Inheritance diagram for carputils.carpio.filelike.FileLikeMixin:
carputils.carpio.bin.BinFile carputils.carpio.csv.CSVFile carputils.carpio.igb.IGBFile carputils.carpio.limpetguihdf5.LimpetGUIHDF5File carputils.carpio.lut.LUTFile carputils.carpio.sv.SVFile carputils.carpio.sv.SVSeries carputils.carpio.txt.TxtFile

Public Member Functions

def __enter__ (self)
 
def __exit__ (self, exc_type, exc_val, exc_tb)
 

Detailed Description

Implements a file-like mixin that essentially allows self-closing when exiting a "with-block".

For information on context managers see https://docs.python.org/2/library/stdtypes.html#context-manager-types

Member Function Documentation

◆ __enter__()

def carputils.carpio.filelike.FileLikeMixin.__enter__ (   self)

◆ __exit__()

def carputils.carpio.filelike.FileLikeMixin.__exit__ (   self,
  exc_type,
  exc_val,
  exc_tb 
)

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