Create Data Member Function

Creates a tree of <FolderConfigNode> and <FileConfigNode> objects that represent a directory tree on the hard disk.

Prototype

static int32 Create( FilePath p_oPath, Group p_oRoot, string p_sFilter, int32 p_bRecurse )

Parameters

Parameter Type Parameter Name Documentation
<FilePath>p_oPathThe root directory at which to begin the traversal.
<Group>p_oRootA pointer to a <Group>-derived object that will store the objects representing the directory tree.
stringp_sFilterA search filter such as *.* or *.bmp.
int32p_bRecurseIf true, sub-directories will be traversed.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.