Gsf.Outfile¶
- Subclasses:
Gsf.OutfileMSOle
,Gsf.OutfileOpenPkg
,Gsf.OutfileStdio
,Gsf.OutfileZip
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Gsf.Outfile(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Class representing an output file, counterpart to
Gsf.Infile
.- new_child(name, is_dir)¶
- Parameters:
- Returns:
a newly created child
- Return type:
- open_pkg_add_rel(name, content_type, parent, type)¶
- Parameters:
name (
str
) – target nameparent (
Gsf.Outfile
) –Gsf.Outfile
type (
str
) – target type
- Returns:
the new part.
- Return type:
A convenience wrapper to create a child in self of content_type then create a type relation to parent