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

Public Member Functions

def __init__ (self, regex, callback, max_matches=None)
 
def write (self, line, args, kwargs)
 Write a line to the stream. More...
 
def close (self)
 Do not search the input any more, but allow calling of write() More...
 

Constructor & Destructor Documentation

◆ __init__()

def carputils.stream.RegexCallbackStream.__init__ (   self,
  regex,
  callback,
  max_matches = None 
)

Member Function Documentation

◆ close()

def carputils.stream.RegexCallbackStream.close (   self)

Do not search the input any more, but allow calling of write()

◆ write()

def carputils.stream.RegexCallbackStream.write (   self,
  line,
  args,
  kwargs 
)

Write a line to the stream.


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