MTL 4: mtl::io Namespace Reference
Classes | |
class | matrix_market_istream |
Input file stream for files in matrix market format. More... | |
class | read_filter |
Utility to filter entries in the read process. More... | |
Functions | |
std::string | join (std::string directory, std::string file) |
Join the directory and file. | |
std::string | directory_name (std::string s) |
Directory name in s that is everything before last slash. | |
std::string | file_name (std::string s) |
File name in s that is everything after last slash. |
std::string mtl::io::join | ( | std::string | directory, | |
std::string | file | |||
) | [inline] |
Join the directory and file.
It concatenates both with the os-specific slash unless directory is empty, then only file is returned
mtl::io Namespace Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Gen. with
rev. 7542
on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.