filesaver
filesaver::services::ExtensionCategory Class Reference

#include <PathMatcher.h>

Inheritance diagram for filesaver::services::ExtensionCategory:
filesaver::services::FileCategory

Public Member Functions

 ExtensionCategory (std::string name, std::string description, std::string tag, std::unordered_set< std::string > extensions, bool isRecursive)
 
 ~ExtensionCategory ()=default
 
PathMatchergetMatcher () override
 
- Public Member Functions inherited from filesaver::services::FileCategory
 FileCategory (std::string name, std::string description, std::string tag)
 
virtual ~FileCategory ()=default
 
const std::string & getName () const
 
const std::string & getDescription () const
 
const std::string & getTag () const
 
off_t getSize () const
 
void addSize (off_t size)
 

Detailed Description

Definition at line 99 of file PathMatcher.h.

Constructor & Destructor Documentation

◆ ExtensionCategory()

filesaver::services::ExtensionCategory::ExtensionCategory ( std::string  name,
std::string  description,
std::string  tag,
std::unordered_set< std::string >  extensions,
bool  isRecursive 
)

Definition at line 80 of file PathMatcher.cpp.

◆ ~ExtensionCategory()

filesaver::services::ExtensionCategory::~ExtensionCategory ( )
default

Member Function Documentation

◆ getMatcher()

PathMatcher & filesaver::services::ExtensionCategory::getMatcher ( )
overridevirtual

Implements filesaver::services::FileCategory.

Definition at line 89 of file PathMatcher.cpp.


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