Flow123d  JS_before_hm-1804-gf2ad740aa
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.