Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Namespaces | Macros | Functions
filesystem.hpp File Reference
#include <algorithm>
#include <fstream>
#include <string>
#include <unordered_set>
#include <vector>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
Include dependency graph for filesystem.hpp:

Go to the source code of this file.

Namespaces

 cypress
 
 cypress::filesystem
 

Macros

#define CYPRESS_UTIL_FILESYSTEM_HPP
 

Functions

std::string cypress::filesystem::canonicalise (const std::string &file)
 
template<typename T >
void cypress::filesystem::canonicalise_files (T &files)
 
std::unordered_set< std::string > cypress::filesystem::dirs (const std::vector< std::string > &files)
 
template<typename T >
std::string cypress::filesystem::longest_common_path (const T &dirs, char sep= '/')
 
std::string cypress::filesystem::tmpfile (std::string &path)
 

Macro Definition Documentation

#define CYPRESS_UTIL_FILESYSTEM_HPP