KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
l_filesystem.h File Reference
#include <string>
#include <vector>
#include <limits>

Go to the source code of this file.

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 

Functions

std::vector< std::string > kjb::file_names_from_format (const std::string &name_format, size_t first=1, size_t num_files=std::numeric_limits< size_t >::max())
 Expands the format into a set of (existing) file names. More...
 
std::vector< std::string > kjb::dir_names_from_format (const std::string &name_format, size_t first=1)
 Expands the format into a set of (existing) file names. More...
 
std::vector< std::string > kjb::strings_from_format (const std::string &str_format, size_t num_strings, size_t first=1)
 Expands the format into a set strings. More...
 
std::string kjb::get_extension (const std::string &fname)
 
std::string kjb::realpath (const std::string &path)
 return a canonicalized path, by wrapping kjb_c::kjb_realpath(). More...