child_by_aname


Description:

public Input child_by_aname (string[] names)

This function finds a child that is several directory levels down the tree.

If, for example, the names "foo", "bar", and "baz" are given, then this function first finds the "foo" directory in the root infile, then locates "bar" within that directory, and finally locates "baz" within that and returns the "baz" child. In other words, this function finds the "foo/bar/baz" child.

New in 1.14.9.

Parameters:

this

Infile

names

A null terminated array of names (e.g. from g_strsplit)

Returns:

a newly created child which must be unrefed.