softwarecontainer
0.18.0-739e8d7 2017-05-04
|
The RecursiveDelete class is a singleton class used to delete files recursively in a directory. More...
#include <recursivedelete.h>
Public Member Functions | |
RecursiveDelete (RecursiveDelete &s)=delete | |
Disallow copy and operator constructors. More... | |
void | operator= (RecursiveDelete const &s)=delete |
bool | del (std::string dir) |
delete Delete files from directory More... | |
Static Public Member Functions | |
static RecursiveDelete & | getInstance () |
getInstance Gets the RecursiveDelete instance. More... | |
The RecursiveDelete class is a singleton class used to delete files recursively in a directory.
Definition at line 29 of file recursivedelete.h.
|
delete |
Disallow copy and operator constructors.
|
static |
getInstance Gets the RecursiveDelete instance.
Definition at line 51 of file recursivedelete.cpp.
bool softwarecontainer::RecursiveDelete::del | ( | std::string | dir | ) |
delete Delete files from directory
dir | The source path to deletefrom |
Definition at line 57 of file recursivedelete.cpp.