This module provides facilities to store data. This section allows you to access the C++ source files of the module. This module is part of Bpp/Standard . The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here. The files listed below are needed by the implementation part of the module. But a module dependent of this module is not necessary dependent of the files listed here. <bpp/file_name.hpp>
<bpp/modules.hpp>
The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module. Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module. inline void convertFolderDosUnix(tcString agFolderName,const std_vector(clString) & agFileFormatS,tyBoolean agDosToUnix,tyBoolean agRecursive,tyBoolean agDisplayed) Converts ASCII files in a folder from the Unix format into the MS-DOS format, and vice versa. The scanning of the folder can be recursive and information can be displayed.
inline tyCardinal countLinesInFolder(tcString agFolderName,const std_vector(clString) & agFileFormatS,tyBoolean agRecursive,tyBoolean agDisplayed) Counts the number of lines in the ASCII files of a folder. The scanning of the folder can be recursive and information can be displayed.
inline void removeFromFolder(tcString agFolderName,const std_vector(clString) & agFileFormatS,tyBoolean agRecursive,tyBoolean agDisplayed) Removes files from a folder. The scanning of the folder can be recursive and information can be displayed.
function void convertFileDosUnix(tcString agFileName,tyBoolean agDosToUnix) Converts an ASCII file from the Unix format into the MS-DOS format, and vice versa.
function tyCardinal countLinesInFile(tcString agFileName) Counts the number of lines in an ASCII file.
function void cutFile(tcString agFileName,tyInteger agNumberByte,tyBoolean agDisplayed) Cuts a file into several smaller files of a given size.
function void renumFiles(tcString agFolderName,tcString agOldFormat,tcString agNewFormat,tyInteger agFirstNumber,tyCardinal agNbDigit,tyBoolean agCaseSensitive,tyBoolean agDisplayed) Renames files by numbering them. The files that match a given file format are renamed according to a new file format described by a string (% locates the position of the number) and a number of digits for the numbering.
function void restoreFile(tcString agFileName,tyBoolean agDisplayed) Restores a file from files resulting of a cutting.
| | Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net | Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org). |
|
| |