ALPSCore reference
Namespaces | Functions
filename_operations.cpp File Reference
#include <alps/utilities/fs/remove_extensions.hpp>
#include <alps/utilities/fs/get_basename.hpp>
#include <alps/utilities/fs/get_dirname.hpp>
#include <alps/utilities/fs/get_extension.hpp>
Include dependency graph for filename_operations.cpp:

Go to the source code of this file.

Namespaces

 alps
 
 alps::fs
 

Functions

std::string alps::fs::get_extension (const std::string &filename)
 Returns the file name extension. More...
 
std::string alps::fs::remove_extensions (const std::string &filename)
 Returns the file name stem with ALL extensions removed. More...
 
std::string alps::fs::get_basename (const std::string &path)
 Returns the base name of the file (removing leading directories) More...
 
std::string alps::fs::get_dirname (const std::string &path)
 Returns the parent direcory name of the file (removing trailing filename) More...