|
libxr
1.0
Want to be the best embedded framework
|
节点基类片段 / Base-node fragment More...
#include <ramfs.hpp>
Public Member Functions | |
| FsNodeType | GetNodeType () const |
| 获取节点类型 / Get the node type | |
| const char * | GetName () const |
| 获取节点名称 / Get the node name | |
Protected Member Functions | |
| FsNode (FsNodeType node_type) | |
| 用指定节点类型构造基类部分 / Construct the base node with a given node type | |
| FsNode (const FsNode &other) | |
| 拷贝构造节点基类部分 / Copy-construct the base-node portion | |
| FsNode & | operator= (const FsNode &)=delete |
Protected Attributes | |
| const char * | name_ = nullptr |
| 节点名称缓冲区 / Retained node-name buffer. | |
| FsNodeType | type_ |
| 节点运行时类型 / Runtime node type. | |
| Dir * | parent_ = nullptr |
| 父目录;根目录保持为空 / Parent directory; stays null for the root. | |
| Tree::Node< FsNode * > | tree_node_ |
| 当前节点挂进目录树时使用的树节点包装 / Tree node wrapper used when inserted into a directory tree. | |
Friends | |
| class | Dir |
节点基类片段 / Base-node fragment
RamFS 的公共节点基类片段 / Common node-base fragment of RamFS
文件系统节点基类 / Base class for all RamFS nodes
|
explicitprotected |
用指定节点类型构造基类部分 / Construct the base node with a given node type
用节点类型构造 FsNode 基类部分 Construct the FsNode base part from a node type
| node_type | 节点类型 / Node type |
Definition at line 47 of file ramfs.cpp.
|
protected |
拷贝构造节点基类部分 / Copy-construct the base-node portion
拷贝构造 FsNode 基类部分 Copy-construct the FsNode base part
| other | 被拷贝的节点 / Node to copy from |
| other | 被拷贝的节点 / Node to copy from |
Definition at line 54 of file ramfs.cpp.
|
inlinenodiscard |
|
inlinenodiscard |
|
protected |
|
protected |
|
protected |
|
protected |