?? yafs_mem.h
字號:
/*! * \file * \brief 內存中各種數據結構的定義 */#include <ctime>#include <iostream>#include <list>#include "yafs.h"using std::list;#ifndef _YAFS_MEM_H#define _YAFS_MEM_H/*! * \brief 內存中的索引結點 * * 內存中的索引結點結構 */struct inode_mem{ struct inode node; //!<索引結點指向文件的基本信息 list<char*> data; //!<索引結點指向文件的數據};/*! * \brief 內存中的目錄項 * * 內存中的目錄項結構 */struct dir_entry_mem{ struct dir_entry dir; //!<目錄項的信息 struct inode_mem inode; //!<目錄項對應的文件或者文件夾的內存索引結點 struct dir_entry_mem *father; //!<目錄項的父目錄項 list<dir_entry_mem> children; //!<目錄項的子目錄項鏈表};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -