ogs5py.fileclasses.base.MultiFile

class ogs5py.fileclasses.base.MultiFile(base, **standard)[source]

Bases: object

Class holding mulitple files of the same type.

Parameters:
  • base (object) – Base class for the files

  • **standard – Standard keyword arguments for new instances of the Base class.

Attributes:
id

int: The current id to access in the file list.

Methods

add(*args, **kwargs)

Add a new instance of the base class with given args and kwargs.

append(file)

Append a new file to the list.

delete([file_id])

Delete a certain file.

reset_all()

Reset the Multi File.

add(*args, **kwargs)[source]

Add a new instance of the base class with given args and kwargs.

append(file)[source]

Append a new file to the list.

delete(file_id=-1)[source]

Delete a certain file.

reset_all()[source]

Reset the Multi File.

property id

The current id to access in the file list.

Type:

int