child_by_name


Description:

public Input child_by_name (string name)

The function returns a named child of the given infile.

This only works for an immediate child. If you need to go several levels down use gsf_infile_child_by_aname, for example.

TODO : For 2.0 api will change to include a Error.

Parameters:

this

Infile

name

target name

Returns:

a newly created child which must be unrefed.