DirectoryNode Class

Definition

Line 8 of FileExplorer/DirectoryNode.cm

Inheritance

Constructors & Destructor

public nothrow DirectoryNode(const String<char>& name_)

Member Functions

public nothrow void AddDirectory(DirectoryNode* directory)
public nothrow void AddFile(FileNode* file)
private void Clear()
public override Control* CreateView(ImageList* imageList)
protected override nothrow String<char> DirectoryPath()
public override nothrow String<char> ExpandedImageName() const
public override nothrow String<char> ImageName() const
public override nothrow bool IsRootDirectory() const
public nothrow void SetRootDirectory()
public override nothrow TreeViewNode* ToTreeViewNode(bool createChilren, ImageList* imageList)

Member Variables

private List<UniquePtr<DirectoryNode>> directories
private List<UniquePtr<FileNode>> files
private bool isRootDirectory

Constructor& Destructor Details

DirectoryNode Constructor

public nothrow DirectoryNode(const String<char>& name_)

Definition
Line 10 of FileExplorer/DirectoryNode.cm


Member Function Details

AddDirectory Member Function

public nothrow void AddDirectory(DirectoryNode* directory)

Definition
Line 21 of FileExplorer/DirectoryNode.cm


AddFile Member Function

public nothrow void AddFile(FileNode* file)

Definition
Line 26 of FileExplorer/DirectoryNode.cm


Clear Member Function

private void Clear()

Definition
Line 140 of FileExplorer/DirectoryNode.cm


CreateView Member Function

public override Control* CreateView(ImageList* imageList)

Definition
Line 59 of FileExplorer/DirectoryNode.cm


DirectoryPath Member Function

protected override nothrow String<char> DirectoryPath()

Definition
Line 123 of FileExplorer/DirectoryNode.cm


ExpandedImageName Member Function

public override nothrow String<char> ExpandedImageName()

Definition
Line 35 of FileExplorer/DirectoryNode.cm


ImageName Member Function

public override nothrow String<char> ImageName()

Definition
Line 31 of FileExplorer/DirectoryNode.cm


IsRootDirectory Member Function

public override nothrow bool IsRootDirectory()

Definition
Line 13 of FileExplorer/DirectoryNode.cm


SetRootDirectory Member Function

public nothrow void SetRootDirectory()

Definition
Line 17 of FileExplorer/DirectoryNode.cm


ToTreeViewNode Member Function

public override nothrow TreeViewNode* ToTreeViewNode(bool createChilren, ImageList* imageList)

Definition
Line 39 of FileExplorer/DirectoryNode.cm