File handling

Top  Previous  Next

Scripts > Class elements and c++ instructions > File handling

 

The following functions for the path and file treatment are based on the portable boost filesystem library.

 

basename                Returns the base name of a file path

extension                Returns the extension of a file path

change_extension        Changes the extension of a file pat

append_path                Composes a path

current_path                Returns the current path

exists                        Tests the existence of a path

is_directory                Tests the existence of a directory

file_size                Returns the file size

find_file                Looks up a file in a directory

load_file                Loads a file

load_file_binary        Loads a file in binary mode

path_separator        String constant for the path separator

 

see also: source and target, redirection, unit_dependence example

 



This page belongs to the TextTransformer Documentation

Home  Content  German