namespaceDirectory

Namespaces all C++ files in the given directory. The files will be overwritten in place.

namespaceDirectory(dir: string, namespaces: Array<string>)
Parameters
dir (string) the directory to process
namespaces (Array<string>) the namespaces to enclose the definitions in, i.e. [ 'outer', 'inner' ]