midday-commander
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Entry Class Referenceabstract

An abstract class representing a general FileView entry. More...

#include <Entry.h>

Inheritance diagram for Entry:
[legend]

Public Member Functions

 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
 

Public Attributes

std::filesystem::path path
 

Detailed Description

An abstract class representing a general FileView entry.

Constructor & Destructor Documentation

◆ Entry()

Entry::Entry ( std::filesystem::path  path)
explicit

◆ ~Entry()

virtual Entry::~Entry ( )
virtualdefault

Member Function Documentation

◆ copy()

virtual bool Entry::copy ( std::filesystem::path  target)
pure virtual

Implemented in File, Folder, and Symlink.

◆ isFile()

virtual bool Entry::isFile ( )
pure virtual

Implemented in File, Folder, and Symlink.

◆ isFolder()

virtual bool Entry::isFolder ( )
pure virtual

Implemented in File, Folder, and Symlink.

◆ isSymlink()

virtual bool Entry::isSymlink ( )
pure virtual

Implemented in File, Folder, and Symlink.

◆ move()

virtual bool Entry::move ( std::filesystem::path  target)
pure virtual

Implemented in File, Folder, and Symlink.

◆ print()

virtual void Entry::print ( Modifier  modifier) const
pure virtual

Implemented in File, Folder, and Symlink.

◆ remove()

virtual bool Entry::remove ( )
pure virtual

Implemented in File, Folder, and Symlink.

Member Data Documentation

◆ path

std::filesystem::path Entry::path

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