Public Member Functions | Public Attributes

Root Struct Reference

root entry for file system trees More...

#include <entries.h>

Collaboration diagram for Root:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Root ()
 ~Root ()
Entryread_tree (LPCTSTR path, int scan_flags=0)
Entryread_tree (LPCITEMIDLIST pidl, int scan_flags=0)

Public Attributes

Entry_entry
TCHAR _path [MAX_PATH]
TCHAR _volname [_MAX_FNAME]
TCHAR _fs [_MAX_DIR]
DWORD _drive_type
DWORD _fs_flags
SORT_ORDER _sort_order

Detailed Description

root entry for file system trees

Definition at line 148 of file entries.h.


Constructor & Destructor Documentation

Root::Root (  )

Definition at line 162 of file entries.cpp.

{
    memset(this, 0, sizeof(Root));
}
Root::~Root (  )

Definition at line 167 of file entries.cpp.

References _entry, and Entry::free_subentries().

{
    if (_entry) {
        _entry->free_subentries();
        delete _entry;
    }
}

Here is the call graph for this function:


Member Function Documentation

Entry * Root::read_tree ( LPCTSTR  path,
int  scan_flags = 0 
)

Definition at line 759 of file entries.cpp.

References Entry::_down, _entry, Entry::_expanded, _sort_order, Entry::read_tree(), and Entry::smart_scan().

Referenced by FileChildWindow::FileChildWindow(), and FileChildWindow::jump_to_int().

{
    Entry* entry;

    if (path && *path)
        entry = _entry->read_tree(path, _sort_order);
    else {
        entry = _entry->read_tree(NULL, _sort_order);

        _entry->smart_scan();

        if (_entry->_down)
            _entry->_expanded = true;
    }

    return entry;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Entry * Root::read_tree ( LPCITEMIDLIST  pidl,
int  scan_flags = 0 
)

Definition at line 778 of file entries.cpp.

References _entry, _sort_order, and Entry::read_tree().

{
    return _entry->read_tree(pidl, _sort_order);
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 156 of file entries.h.

Referenced by FileChildWindow::FileChildWindow(), and ShellBrowser::Init().

TCHAR Root::_fs[_MAX_DIR]

Definition at line 157 of file entries.h.

Referenced by FileChildWindow::FileChildWindow(), and ShellBrowser::Init().

TCHAR Root::_path[MAX_PATH]
TCHAR Root::_volname[_MAX_FNAME]

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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage