dirtree.hpp File Reference
Types involved in grouping of item into folders. More...
Classes | |
struct | direntry_t |
Directory entry: either a file or directory. More... | |
struct | dirspec_t |
Directory tree specialization. More... | |
struct | dirtree_cursor_t |
Position in the directory tree. More... | |
struct | dirtree_selection_t |
struct | dirtree_iterator_t |
Helper class to iterate over files. More... | |
struct | dirtree_visitor_t |
A visitor, for use with dirtree_t::traverse. More... | |
class | dirtree_t |
Directory tree. More... | |
Macros | |
#define | BAD_BLOB_IDX blob_idx_t(-1) |
Typedefs | |
typedef qvector< inode_t > | inodevec_t |
typedef uval_t | diridx_t |
Directory indexes are simple numbers like 0,1,2,3... They are independent of inode numbers. More... | |
typedef qvector< diridx_t > | dirvec_t |
typedef ea_t | blob_idx_t |
Blob index, used for storing/restoring dirtree_t information. | |
typedef qvector< direntry_t > | direntry_vec_t |
typedef qvector< dirtree_cursor_t > | dirtree_cursor_vec_t |
Enumerations | |
enum | { DTN_FULL_NAME = 0x00 , DTN_DISPLAY_NAME = 0x01 } |
enum | dterr_t { DTE_OK , DTE_ALREADY_EXISTS , DTE_NOT_FOUND , DTE_NOT_DIRECTORY , DTE_NOT_EMPTY , DTE_BAD_PATH , DTE_CANT_RENAME , DTE_OWN_CHILD , DTE_MAX_DIR , DTE_LAST } |
Directory tree: error codes. | |
enum | dirtree_id_t { DIRTREE_LOCAL_TYPES , DIRTREE_STRUCTS , DIRTREE_ENUMS , DIRTREE_FUNCS , DIRTREE_NAMES , DIRTREE_IMPORTS , DIRTREE_IDAPLACE_BOOKMARKS , DIRTREE_STRUCTS_BOOKMARKS , DIRTREE_ENUMS_BOOKMARKS , DIRTREE_BPTS , DIRTREE_END } |
Built-in dirtree specializations: | |
Functions | |
idaman dirtree_t *ida_export | get_std_dirtree (dirtree_id_t id) |
Detailed Description
Types involved in grouping of item into folders.
The dirtree_t class is used to organize a directory tree on top of any collection that allows for accessing its elements by an id (inode).
No requirements are imposed on the inodes apart from the forbidden value -1 (it is used ot denote a bad inode).
The dirspec_t class is used to specialize the dirtree. It can be used to introduce a directory structure for:
- local types
- structs
- enums
- functions
- names
- etc
Typedef Documentation
◆ diridx_t
Generated by 1.9.3