Storage#

class Storage#

An abstract class that allows saving Savable objects to storage and loading them from storage.

load(self: pyhelayers.Storage, arg0: pyhelayers.HeContext, arg1: str) pyhelayers.Saveable#

Loads a Saveable object from a buffer

Parameters:
  • context (HeContext) – Context object

  • name (string) – Buffer name in the storage

save(self: pyhelayers.Storage, arg0: pyhelayers.Saveable, arg1: str) None#

Saves a Saveable object into a buffer

Parameters:
  • sav (Savable) – Savable object

  • name (string) – Buffer name in the storage