nn::fs::Directory::Directory Constructor

Syntax

Directory();

Directory(
     const wchar_t * pathName
);

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 read directory entries, you must call Initialize separately.

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.

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryInitialize.

Description of Directory ( const char * )

This opens the directory at the specified path. This function uses a large amount of buffer space on the stack because it converts the path name from a multi-byte string into a wide string. Pay careful attention to the stack size.

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryInitialize.


CONFIDENTIAL