Flow123d  3.9.1-8f37ba8
Functions
file_path.cc File Reference


More...

#include <boost/filesystem.hpp>
#include <fstream>
#include "file_path.hh"
#include "system.hh"
#include <type_traits>

Go to the source code of this file.

Functions

string create_path_from_vec (vector< string > sub_paths)
 
std::ostream & operator<< (std::ostream &stream, const FilePath &fp)
 Allow redirect FilePath to stream. More...
 

Detailed Description


 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file file_path.cc.

Function Documentation

◆ create_path_from_vec()

string create_path_from_vec ( vector< string >  sub_paths)

Helper method, create path string from vector of strings

Definition at line 30 of file file_path.cc.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  stream,
const FilePath fp 
)

Allow redirect FilePath to stream.

Definition at line 270 of file file_path.cc.