HostINodeManager Class

Definition

Line 450 of cmsxk/HostFileSystem.cm

Inheritance

Constructors & Destructor

public HostINodeManager(HostFileSystem* fs_)

Member Functions

public HostFile* GetHostFile(int hostFileIndex) const
public const String<char>& GetHostFilePath(int hostFileIndex) const
public override INode* GetINode(const INodeKey& key)
public override nothrow String<char> Name() const
public override INode* PathToINode(Process* process, const String<char>& path)
public override INode* PathToINode(Process* process, const String<char>& path, PathToINodeFlags flags, INode*& parent, DirectorySlot& freeDirectorySlot, String<char>& name)
public override void PutINode(INode* inode)

Member Variables

private HostFileSystem* fs
private HashMap<int, Pair<String<char>, HostFile*>, Hasher<int>, EqualTo<int>> hostFileIndexPathMap
private int nextHostFileIndex
private HashMap<String<char>, INode*, Hasher<String<char>>, EqualTo<String<char>>> pathINodeMap

Constructor& Destructor Details

HostINodeManager Constructor

public HostINodeManager(HostFileSystem* fs_)

Definition
Line 452 of cmsxk/HostFileSystem.cm


Member Function Details

GetHostFile Member Function

public HostFile* GetHostFile(int hostFileIndex)

Definition
Line 564 of cmsxk/HostFileSystem.cm


GetHostFilePath Member Function

public const String<char>& GetHostFilePath(int hostFileIndex)

Definition
Line 552 of cmsxk/HostFileSystem.cm


GetINode Member Function

public override INode* GetINode(const INodeKey& key)

Definition
Line 459 of cmsxk/HostFileSystem.cm


Name Member Function

public override nothrow String<char> Name()

Definition
Line 455 of cmsxk/HostFileSystem.cm


PathToINode Member Function

public override INode* PathToINode(Process* process, const String<char>& path)

Definition
Line 500 of cmsxk/HostFileSystem.cm


PathToINode Member Function

public override INode* PathToINode(Process* process, const String<char>& path, PathToINodeFlags flags, INode*& parent, DirectorySlot& freeDirectorySlot, String<char>& name)

Definition
Line 511 of cmsxk/HostFileSystem.cm


PutINode Member Function

public override void PutINode(INode* inode)

Definition
Line 470 of cmsxk/HostFileSystem.cm