Class: Gsf::Outfile

Inherits:
Output show all
Defined in:
(unknown)

Direct Known Subclasses

OutfileMSOle, OutfileOpenPkg, OutfileStdio, OutfileZip

Instance Method Summary collapse

Methods inherited from Output

#close, #container, #container=, #error, error_id, #is_closed, #is_closed=, #is_closed?, #modtime, #modtime=, #name, #name=, #name_from_filename=, #position, #position=, #printf, #puts, #seek, #set_error, #size, #size=, #tell, unwrap, #vprintf, wrap, #write

Instance Method Details

#new_child(name, is_dir) ⇒ Gsf::Output

Returns a newly created child.

Parameters:

  • name (String)

    The name of the new child to create

  • is_dir (Boolean)

    true to create a directory, false to create a plain file

Returns:

#new_child_full(name, is_dir, first_property_name, array) ⇒ Gsf::Output

Returns a newly created child.

Parameters:

  • name (String)

    The name of the new child to create

  • is_dir (Boolean)

    true to create a directory, false to create a plain file

  • first_property_name (String)
  • array (Array)

Returns:

#new_child_varg(name, is_dir, first_property_name, args) ⇒ Gsf::Output

Returns a newly created child.

Parameters:

  • name (String)

    The name of the new child to create

  • is_dir (Boolean)

    true to create a directory, false to create a plain file

  • first_property_name (String)
  • args (Gsf::va_list)

Returns:

#open_pkg_add_rel(name, content_type, parent, type) ⇒ Gsf::Output

A convenience wrapper to create a child in dir of content_type then create a type relation to parent

Parameters:

  • name (String)

    target name

  • content_type (String)

    non-nil content type

  • parent (Gsf::Outfile)

    Gsf::Outfile

  • type (String)

    target type

Returns: