26 ScopedFile(
const std::string &fileContents,
const std::string &fileName);
27 ScopedFile(
const std::string &fileContents,
const std::string &fileName,
const std::string &fileDirectory);
35 void doCreateFile(
const std::string &fileContents,
const Poco::Path &fileNameAndPath);
41 void *
operator new(size_t);
42 void operator delete(
void *);
43 void *
operator new[](size_t);
44 void operator delete[](
void *);
std::string getFileName() const
Getter for the filename with path.
ScopedFile & operator=(const ScopedFile &other)
Assignement.
void doCreateFile(const std::string &fileContents, const Poco::Path &fileNameAndPath)
Common method used by all constructors.
void release() const
Release the resource from management.
~ScopedFile()
Free up resources.