Folder Class that wraps the sb_t_folder structure
More...
#include <cs_folder.h>
|
static SbFolder | Load (String^ path, String ^ext, bool sort, int verbosity) |
| Creates the list of the name of the files in a specified folder. More...
|
|
static String | FormatError (SbError error) |
| Returns the error message. More...
|
|
Folder Class that wraps the sb_t_folder structure
Definition at line 15 of file cs_folder.h.
◆ Load()
static SbFolder sb_cs::SbFolder::Load |
( |
String^ |
path, |
|
|
String ^ |
ext, |
|
|
bool |
sort, |
|
|
int |
verbosity |
|
) |
| |
|
static |
Creates the list of the name of the files in a specified folder.
- Parameters
-
path | Name of the folder |
ext | Extensions of the files. It is possible to concatenate multiple extensions separated by the SB_DELIMITER character, for example "pgm;ppm;bmp" |
sort | If the value is true the list of files is sorted in a lexiconic way |
verbosity | Verbosity of the message. Set to 0 to disable all the messages |
- Returns
- An instance to the SbFolder class or null in case of memory error.
The instance returned is valid only if the SbFolder.Error() is equal to SbError::SB_ERR_NONE, otherwise an error occurred. - See also
- sb_folder_load
◆ files
array<String^> sb_cs::SbFolder::files |
The documentation for this class was generated from the following file: