nn::fs::Directory::Directory Constructor

Syntax

Directory();

explicit Directory(
     const wchar_t * pathName
);

explicit Directory(
     const char * pathName
);

List of Overloaded Member Functions

Directory( ) Constructor.
Directory(const wchar_t *) A constructor that opens the specified directory.
Directory(const char *) A constructor that opens the specified directory.

Description of Directory( )

In the overloaded version without arguments, no directory is opened. To load directory entries, you must separately call the TryInitialize function.

In the overloaded version that specifies a path name, the directory in that path is opened.

Description of Directory(const wchar_t *)

Opens the directory in the specified path.

Description of Directory(const char *)

Opens the directory in the specified path.


Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte character string into a wide character string. Pay careful attention to the stack size.


CONFIDENTIAL