#include <incrontab.h>
Public Member Functions | |
InCronTab () | |
Constructor. | |
~InCronTab () | |
Destructor. | |
void | Add (const InCronTabEntry &rEntry) |
Add an entry to the table. | |
void | Clear () |
Removes all entries. | |
bool | IsEmpty () const |
Checks whether the table is empty. | |
int | GetCount () const |
Returns the count of entries. | |
InCronTabEntry & | GetEntry (int index) |
Returns an entry. | |
bool | Load (const std::string &rPath) |
Loads the table. | |
bool | Save (const std::string &rPath) |
Saves the table. | |
Static Public Member Functions | |
static bool | CheckUser (const std::string &rUser) |
Checks whether an user has permission to use incron. | |
static std::string | GetUserTablePath (const std::string &rUser) |
Composes a path to an user incron table file. | |
Protected Attributes | |
std::deque< InCronTabEntry > | m_tab |
incron table |
|
Constructor.
|
|
Destructor.
|
|
Add an entry to the table.
|
|
Checks whether an user has permission to use incron.
|
|
Removes all entries.
|
|
Returns the count of entries.
|
|
Returns an entry.
|
|
Composes a path to an user incron table file.
|
|
Checks whether the table is empty.
|
|
Loads the table.
|
|
Saves the table.
|
|
incron table
|