Node Abstract Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 7 of FileExplorer/Node.cm

Inheritance

Constructors & Destructor

public Node(const String<char>& name_)

Member Functions

public Result<bool> AddMenuItems(ContextMenu* contextMenu, bool treeView)
public virtual bool CanOpen() const
public virtual Result<Control*> CreateView(ImageList* imageList)
public virtual String<char> DirectoryPath()
public Result<bool> ExecuteDefaultAction()
public virtual String<char> ExpandedImageName() const
private Result<bool> Explore()
public virtual MainWindow* GetMainWindow() const
public inline TreeViewNode* GetTreeViewNode() const
public abstract String<char> ImageName() const
public virtual bool IsRootDirectory() const
public inline const String<char>& Name() const
public Result<bool> Open()
public Result<bool> OpenAndExpand()
public inline Node* Parent() const
public Result<bool> SetCurrentPathNode()
public virtual Result<bool> SetData(ListViewItem* item, ImageList* imageList)
public void SetParent(Node* parent_)
public Result<bool> SetTreeViewNode(TreeViewNode* treeViewNode_)
public virtual Result<UniquePtr<TreeViewNode>> ToTreeViewNode(bool createChildren, ImageList* imageList)
private Result<bool> ViewContent()

Member Variables

private ListViewItem* listViewItem
private String<char> name
private Node* parent
private TreeViewNode* treeViewNode

Constructor& Destructor Details

Node Constructor

public Node(const String<char>& name_)

Definition
Line 9 of FileExplorer/Node.cm


Member Function Details

AddMenuItems Member Function

public Result<bool> AddMenuItems(ContextMenu* contextMenu, bool treeView)

Definition
Line 87 of FileExplorer/Node.cm


CanOpen Member Function

public virtual bool CanOpen()

Definition
Line 82 of FileExplorer/Node.cm


CreateView Member Function

public virtual Result<Control*> CreateView(ImageList* imageList)

Definition
Line 74 of FileExplorer/Node.cm


DirectoryPath Member Function

public virtual String<char> DirectoryPath()

Definition
Line 78 of FileExplorer/Node.cm


ExecuteDefaultAction Member Function

public Result<bool> ExecuteDefaultAction()

Definition
Line 149 of FileExplorer/Node.cm


ExpandedImageName Member Function

public virtual String<char> ExpandedImageName()

Definition
Line 70 of FileExplorer/Node.cm


Explore Member Function

private Result<bool> Explore()

Definition
Line 159 of FileExplorer/Node.cm


GetMainWindow Member Function

public virtual MainWindow* GetMainWindow()

Definition
Line 29 of FileExplorer/Node.cm


GetTreeViewNode Member Function

public inline TreeViewNode* GetTreeViewNode()

Definition
Line 40 of FileExplorer/Node.cm


ImageName Member Function

public abstract String<char> ImageName()

Definition
Line 69 of FileExplorer/Node.cm


IsRootDirectory Member Function

public virtual bool IsRootDirectory()

Definition
Line 25 of FileExplorer/Node.cm


Name Member Function

public inline const String<char>& Name()

Definition
Line 13 of FileExplorer/Node.cm


Open Member Function

public Result<bool> Open()

Definition
Line 125 of FileExplorer/Node.cm


OpenAndExpand Member Function

public Result<bool> OpenAndExpand()

Definition
Line 136 of FileExplorer/Node.cm


Parent Member Function

public inline Node* Parent()

Definition
Line 17 of FileExplorer/Node.cm


SetCurrentPathNode Member Function

public Result<bool> SetCurrentPathNode()

Definition
Line 189 of FileExplorer/Node.cm


SetData Member Function

public virtual Result<bool> SetData(ListViewItem* item, ImageList* imageList)

Definition
Line 111 of FileExplorer/Node.cm


SetParent Member Function

public void SetParent(Node* parent_)

Definition
Line 21 of FileExplorer/Node.cm


SetTreeViewNode Member Function

public Result<bool> SetTreeViewNode(TreeViewNode* treeViewNode_)

Definition
Line 45 of FileExplorer/Node.cm


ToTreeViewNode Member Function

public virtual Result<UniquePtr<TreeViewNode>> ToTreeViewNode(bool createChildren, ImageList* imageList)

Definition
Line 65 of FileExplorer/Node.cm


ViewContent Member Function

private Result<bool> ViewContent()

Definition
Line 174 of FileExplorer/Node.cm