Public Member Functions | List of all members
DirAccessPack Class Reference
Inheritance diagram for DirAccessPack:
DirAccess

Public Member Functions

virtual bool list_dir_begin ()
 This starts dir listing.
 
virtual String get_next ()
 
virtual bool current_is_dir () const
 
virtual bool current_is_hidden () const
 
virtual void list_dir_end ()
 
virtual int get_drive_count ()
 
virtual String get_drive (int p_drive)
 
virtual Error change_dir (String p_dir)
 can be relative or absolute, return false on success
 
virtual String get_current_dir ()
 return current dir location
 
virtual bool file_exists (String p_file)
 
virtual bool dir_exists (String p_dir)
 
virtual Error make_dir (String p_dir)
 
virtual Error rename (String p_from, String p_to)
 
virtual Error remove (String p_name)
 
size_t get_space_left ()
 
- Public Member Functions inherited from DirAccess
virtual String get_next (bool *p_is_dir)
 
virtual int get_current_drive ()
 
virtual Error make_dir_recursive (String p_dir)
 
virtual Error erase_contents_recursive ()
 
virtual Error copy (String p_from, String p_to)
 

Additional Inherited Members

- Public Types inherited from DirAccess
enum  AccessType { ACCESS_RESOURCES, ACCESS_USERDATA, ACCESS_FILESYSTEM, ACCESS_MAX }
 
typedef DirAccess *(* CreateFunc) ()
 
- Static Public Member Functions inherited from DirAccess
static String normalize_path (const String &p_path)
 
static bool exists (String p_dir)
 
static String get_full_path (const String &p_path, AccessType p_access)
 
static DirAccesscreate_for_path (const String &p_path)
 
static DirAccesscreate (AccessType p_access)
 
template<class T >
static void make_default (AccessType p_access)
 
static DirAccessopen (const String &p_path, Error *r_error=NULL)
 
- Protected Member Functions inherited from DirAccess
String _get_root_path () const
 
String _get_root_string () const
 
String fix_path (String p_path) const
 
- Static Protected Member Functions inherited from DirAccess
template<class T >
static DirAccess_create_builtin ()
 
- Protected Attributes inherited from DirAccess
bool next_is_dir
 

The documentation for this class was generated from the following files: