ReactOS 0.4.15-dev-7842-g558ab78
FATDirectory Struct Reference

FAT file system directory-entry. More...

#include <fatfs.h>

Inheritance diagram for FATDirectory:
Collaboration diagram for FATDirectory:

Public Member Functions

 FATDirectory (FATDrive &drive, LPCTSTR root_path)
 
 FATDirectory (FATDrive &drive, Entry *parent, LPCTSTR path, unsigned cluster)
 
 ~FATDirectory ()
 
virtual void read_directory (int scan_flags=0)
 
virtual const voidget_next_path_component (const void *) const
 
virtual Entryfind_entry (const void *)
 
- Public Member Functions inherited from FATEntry
 FATEntry (Entry *parent, unsigned cluster)
 
- Public Member Functions inherited from Entry
virtual ~Entry ()
 
void free_subentries ()
 
void read_directory_base (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
Entryread_tree (const void *path, SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
void sort_directory (SORT_ORDER sortOrder)
 
void smart_scan (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
int extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL)
 
int safe_extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL)
 
virtual void read_directory (int scan_flags=0)
 
virtual const voidget_next_path_component (const void *) const
 
virtual Entryfind_entry (const void *)
 
virtual bool get_path (PTSTR path, size_t path_count) const =0
 
virtual ShellPath create_absolute_pidl () const
 
virtual HRESULT GetUIObjectOf (HWND hWnd, REFIID riid, LPVOID *ppvOut)
 
virtual ShellFolder get_shell_folder () const
 
virtual BOOL launch_entry (HWND hwnd, UINT nCmdShow=SW_SHOWNORMAL)
 
virtual HRESULT do_context_menu (HWND hwnd, const POINT &pos, CtxMenuInterfaces &cm_ifs)
 

Protected Member Functions

bool read_dir ()
 
- Protected Member Functions inherited from FATEntry
 FATEntry ()
 
virtual bool get_path (PTSTR path, size_t path_count) const
 
virtual ShellPath create_absolute_pidl () const
 
- Protected Member Functions inherited from Entry
 Entry (ENTRY_TYPE etype)
 
 Entry (Entry *parent, ENTRY_TYPE etype)
 
 Entry (const Entry &)
 
bool get_path_base (PTSTR path, size_t path_count, ENTRY_TYPE etype) const
 
- Protected Member Functions inherited from Directory
 Directory ()
 
virtual ~Directory ()
 

Protected Attributes

FATDrive_drive
 
struct dirsecz_secarr
 
int _cur_bufs
 
int _ents
 
struct dirent_dir
 
struct Kette_alloc
 
- Protected Attributes inherited from FATEntry
DWORD _cluster
 
- Protected Attributes inherited from Directory
void_path
 

Additional Inherited Members

- Public Attributes inherited from Entry
Entry_next
 
Entry_down
 
Entry_up
 
bool _expanded
 
bool _scanned
 
int _level
 
WIN32_FIND_DATA _data
 
SFGAOF _shell_attribs
 
LPTSTR _display_name
 
LPTSTR _type_name
 
LPTSTR _content
 
ENTRY_TYPE _etype
 
int _icon_id
 
BY_HANDLE_FILE_INFORMATION _bhfi
 
bool _bhfi_valid
 

Detailed Description

FAT file system directory-entry.

Definition at line 47 of file fatfs.h.

Constructor & Destructor Documentation

◆ FATDirectory() [1/2]

FATDirectory::FATDirectory ( FATDrive drive,
LPCTSTR  root_path 
)

◆ FATDirectory() [2/2]

FATDirectory::FATDirectory ( FATDrive drive,
Entry parent,
LPCTSTR  path,
unsigned  cluster 
)

◆ ~FATDirectory()

FATDirectory::~FATDirectory ( )

Member Function Documentation

◆ find_entry()

virtual Entry * FATDirectory::find_entry ( const void )
virtual

Reimplemented from Entry.

◆ get_next_path_component()

virtual const void * FATDirectory::get_next_path_component ( const void ) const
virtual

Reimplemented from Entry.

◆ read_dir()

bool FATDirectory::read_dir ( )
protected

◆ read_directory()

virtual void FATDirectory::read_directory ( int  scan_flags = 0)
virtual

Reimplemented from Entry.

Member Data Documentation

◆ _alloc

struct Kette* FATDirectory::_alloc
protected

Definition at line 64 of file fatfs.h.

◆ _cur_bufs

int FATDirectory::_cur_bufs
protected

Definition at line 61 of file fatfs.h.

◆ _dir

struct dirent* FATDirectory::_dir
protected

Definition at line 63 of file fatfs.h.

◆ _drive

FATDrive& FATDirectory::_drive
protected

Definition at line 58 of file fatfs.h.

◆ _ents

int FATDirectory::_ents
protected

Definition at line 62 of file fatfs.h.

◆ _secarr

struct dirsecz* FATDirectory::_secarr
protected

Definition at line 60 of file fatfs.h.


The documentation for this struct was generated from the following file: