midday-commander
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Folder Class Reference

Represents a folder in the program. More...

#include <Folder.h>

Inheritance diagram for Folder:
[legend]
Collaboration diagram for Folder:
[legend]

Public Member Functions

 Folder (std::filesystem::path)
 
void print (Modifier) const override
 
bool isFile () override
 
bool isFolder () override
 
bool isSymlink () override
 
bool remove () override
 
bool move (std::filesystem::path target) override
 
bool copy (std::filesystem::path target) override
 
- Public Member Functions inherited from Entry
 Entry (std::filesystem::path path)
 
virtual ~Entry ()=default
 
virtual void print (Modifier modifier) const =0
 
virtual bool isFile ()=0
 
virtual bool isFolder ()=0
 
virtual bool isSymlink ()=0
 
virtual bool remove ()=0
 
virtual bool copy (std::filesystem::path target)=0
 
virtual bool move (std::filesystem::path target)=0
 

Additional Inherited Members

- Public Attributes inherited from Entry
std::filesystem::path path
 

Detailed Description

Represents a folder in the program.

Constructor & Destructor Documentation

◆ Folder()

Folder::Folder ( std::filesystem::path  path)
explicit

Member Function Documentation

◆ copy()

bool Folder::copy ( std::filesystem::path  target)
overridevirtual

Implements Entry.

Here is the caller graph for this function:

◆ isFile()

bool Folder::isFile ( )
overridevirtual

Implements Entry.

◆ isFolder()

bool Folder::isFolder ( )
overridevirtual

Implements Entry.

◆ isSymlink()

bool Folder::isSymlink ( )
overridevirtual

Implements Entry.

◆ move()

bool Folder::move ( std::filesystem::path  target)
overridevirtual

Implements Entry.

Here is the call graph for this function:

◆ print()

void Folder::print ( Modifier  modifier) const
overridevirtual

Implements Entry.

Here is the call graph for this function:

◆ remove()

bool Folder::remove ( )
overridevirtual

Implements Entry.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: