KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
l_filesystem.cpp File Reference
#include <l/l_sys_io.h>
#include <l/l_string.h>
#include <l_cpp/l_filesystem.h>
#include <l_cpp/l_exception.h>
#include <fstream>
#include <boost/format.hpp>

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::realpath (const std::string &path)
 return a canonicalized path, by wrapping kjb_c::kjb_realpath(). More...