filesaver
filesaver::services::FileCategory Class Referenceabstract

#include <PathMatcher.h>

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

Public Member Functions

 FileCategory (std::string name, std::string description, std::string tag)
 
virtual ~FileCategory ()=default
 
virtual PathMatchergetMatcher ()=0
 
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 53 of file PathMatcher.h.

Constructor & Destructor Documentation

◆ FileCategory()

filesaver::services::FileCategory::FileCategory ( std::string  name,
std::string  description,
std::string  tag 
)

Definition at line 46 of file PathMatcher.cpp.

◆ ~FileCategory()

virtual filesaver::services::FileCategory::~FileCategory ( )
virtualdefault

Member Function Documentation

◆ addSize()

void filesaver::services::FileCategory::addSize ( off_t  size)
inline

Definition at line 70 of file PathMatcher.h.

◆ getDescription()

const std::string & filesaver::services::FileCategory::getDescription ( ) const

Definition at line 56 of file PathMatcher.cpp.

◆ getMatcher()

virtual PathMatcher& filesaver::services::FileCategory::getMatcher ( )
pure virtual

◆ getName()

const std::string & filesaver::services::FileCategory::getName ( ) const

Definition at line 51 of file PathMatcher.cpp.

◆ getSize()

off_t filesaver::services::FileCategory::getSize ( ) const
inline

Definition at line 65 of file PathMatcher.h.

◆ getTag()

const std::string & filesaver::services::FileCategory::getTag ( ) const

Definition at line 61 of file PathMatcher.cpp.


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