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

Class TLSFile

object --+
         |
        TLSFile


Read/Write a TLS files containing one or more TLSGroupDesc objects.
Method Summary
  __init__(self)
  generate_tls_group_list(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)
  __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)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Method Details

generate_tls_group_list(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.0 on Wed Nov 24 17:34:58 2004 http://epydoc.sf.net