|
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 () |
|
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) |
|
|
enum | AccessType { ACCESS_RESOURCES,
ACCESS_USERDATA,
ACCESS_FILESYSTEM,
ACCESS_MAX
} |
|
typedef DirAccess *(* | CreateFunc) () |
|
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 DirAccess * | create_for_path (const String &p_path) |
|
static DirAccess * | create (AccessType p_access) |
|
template<class T > |
static void | make_default (AccessType p_access) |
|
static DirAccess * | open (const String &p_path, Error *r_error=NULL) |
|
String | _get_root_path () const |
|
String | _get_root_string () const |
|
String | fix_path (String p_path) const |
|
template<class T > |
static DirAccess * | _create_builtin () |
|
bool | next_is_dir |
|
The documentation for this class was generated from the following files:
- /Users/huihoo/Downloads/godot-2.0.4-stable/core/io/file_access_pack.h
- /Users/huihoo/Downloads/godot-2.0.4-stable/core/io/file_access_pack.cpp