#include <evo/impl/sysio_dir.h>
System directory reader (used internally). 
- This is an internal low-level interface with public members, use Directory instead
 
- Members are public for quick access and simple low-level interface
 
- Implementation is OS specific and handle is public 
 
 
◆ Handle
◆ SysDir()
◆ ~SysDir()
◆ chdir()
Change current working directory to currently open directory. 
- Returns
 - Whether successful, false if directory not open or permission denied 
 
 
 
◆ close()
Close currently open directory, if any. 
 
 
◆ open()
  
  
      
        
          | Error open  | 
          ( | 
          const char *  | 
          path | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Open directory for reading. 
- Parameters
 - 
  
    | path | Directory path to open, must be terminated  | 
  
   
- Returns
 - ENone on success, error code on other error 
 
 
 
◆ read()
  
  
      
        
          | bool read  | 
          ( | 
          TStr &  | 
          entry | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Read next directory entry. 
- Call seek() to move back to the first entry
 
- Caution: Result string will reference internal memory that will be invalid on next read() or on close() (even with String type)
 
- Template Parameters
 - 
  
    | TStr | String type to store entry (SubString preferred), inferred from argument  | 
  
   
- Parameters
 - 
  
    | entry | SubString to store the entry, set to null after last entry [out]  | 
  
   
- Returns
 - Whether entry read, false if no more entries 
 
 
 
◆ seek()
Seek to beginning of directory. 
- After this read() will return entries from the beginning 
 
 
 
◆ handle
The documentation for this struct was generated from the following file: