Class FileWriter¶
Defined in File faccessors.py
Inheritance Relationships¶
Base Type¶
public ABC
Derived Type¶
public faccessors.HDF5Writer(Class HDF5Writer)
Class Documentation¶
- faccessors.FileWriter : public ABC
Represents a File to be written by AMS.
Subclassed by faccessors.HDF5Writer
Public Functions
- __subclasshook__(cls, subclass)¶
Ensure subclass implement all the abstract method defined in the interface. Errors will be raised if all methods aren't overridden.
- __str__(self)¶
Return a string representation of the FileWriter interface
- __repr__(self)¶
Return a string representation of the FileWriter interface
- open(self)¶
Connect to the DB (or open file if file-based DB)
- close(self)¶
Close DB
- store(self, inputs, outputs)¶
Store the two arrays using a given backend