neic-glass3  1.4.6
Namespaces | Macros | Functions
fileutil.cpp File Reference
#include <fileutil.h>
#include <logger.h>
#include <stringutil.h>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cstdio>
Include dependency graph for fileutil.cpp:

Namespaces

 glass3
 The neic-glass3 project namespace containing all the classes and functions that make up neic-glass3.
 
 glass3::util
 The neic-glass3 project namespace containing utility classes and functions.
 

Macros

#define MOVEERROREXTENSION   ".moveerror"
 

Functions

bool glass3::util::getFirstFileNameByExtension (const std::string &path, const std::string &extension, std::string &fileName)
 get the next file name in a directory More...
 
bool glass3::util::moveFileTo (std::string fileName, const std::string &dirName)
 move a file from one directory to another More...
 
bool glass3::util::copyFileTo (std::string from, std::string to)
 copy a file from one directory to another More...
 
bool glass3::util::deleteFileFrom (std::string fileName)
 delete a file More...
 

Macro Definition Documentation

#define MOVEERROREXTENSION   ".moveerror"