ALPSCore reference
Main Page
Related Pages
Classes
Files
File List
File Members
alps
utilities
fs
get_dirname.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
4
* For use in publications, see ACKNOWLEDGE.TXT
5
*/
6
7
#ifndef ALPS_UTILITY_FS_GET_DIRNAME_HPP_c9685cbd35144ac3b28ae653a9d0cbc0
8
#define ALPS_UTILITY_FS_GET_DIRNAME_HPP_c9685cbd35144ac3b28ae653a9d0cbc0
9
10
#include <alps/config.hpp>
11
#include <string>
12
13
namespace
alps
{
namespace
fs {
18
std::string
get_dirname
(
const
std::string& path);
19
} }
20
21
#endif
/* ALPS_UTILITY_FS_GET_DIRNAME_HPP_c9685cbd35144ac3b28ae653a9d0cbc0 */
alps::fs::get_dirname
std::string get_dirname(const std::string &path)
Returns the parent direcory name of the file (removing trailing filename)
Definition:
filename_operations.cpp:79
alps
Definition:
boost_array_functions.hpp:24
Generated on Sun Oct 14 2018 12:18:30 for ALPSCore reference by
1.8.11