Package mmLib :: Module TLS :: Class TLSFile
[show private | hide private]
[frames | no frames]

Type TLSFile

object --+
         |
        TLSFile


Read/Write a TLS files containing one or more TLSGroupDesc objects.
Method Summary
  __init__(self)
  construct_tls_groups(self, struct)
Returns a list of TLSGroup instances constructed from the TLSGroupDesc instances contained in this class.
  construct_tls_groups_with_atoms(self, struct)
Returns a list of TLSGroup instances constructed from the Structure instance argument and the TLSGroupDesc instances contained in this class.
  load(self, fil, path)
Load TLS description file using the current TLSFileFormat instance.
  save(self, fil, path)
Save TLS description file using the curent TLSFileFormat instance.
  set_file_format(self, file_format)
Set a instance of a TLSFileFormat subclass to use for reading and writing TLS description files.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

construct_tls_groups(self, struct)

Returns a list of TLSGroup instances constructed from the TLSGroupDesc instances contained in this class.

construct_tls_groups_with_atoms(self, struct)

Returns a list of TLSGroup instances constructed from the Structure instance argument and the TLSGroupDesc instances contained in this class.

load(self, fil, path=None)

Load TLS description file using the current TLSFileFormat instance.

save(self, fil, path=None)

Save TLS description file using the curent TLSFileFormat instance.

set_file_format(self, file_format)

Set a instance of a TLSFileFormat subclass to use for reading and writing TLS description files.

Generated by Epydoc 2.1 on Sun Apr 23 22:08:39 2006 http://epydoc.sf.net