![]() |
|
PhoenixFileParser
1.5.1
Set of tools to ease file parsing
|
#include <vector>#include <fstream>#include "PPath.h"
Include dependency graph for openFileStream.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| typedef std::vector< std::ifstream > | PVecIFStream |
| typedef std::vector< std::ofstream > | PVecOFStream |
Functions | |
| void | closeFileStream (PVecIFStream &fs) |
| Close a vector of ifstream. | |
| void | closeFileStream (PVecOFStream &fs) |
| Close a vector of ofstream. | |
| bool | openFileStream (PVecIFStream &fs, const PPath &fileName, size_t nbFile) |
| Open a vector of ifstream. | |
| bool | openFileStream (PVecOFStream &fs, const PPath &fileName, size_t nbFile) |
| Open a vector of ofstream. | |
| bool | openFileStream (std::ifstream &fs, const PPath &fileName) |
| Open a ofstream and says if there is a problem. | |
| bool | openFileStream (std::ofstream &fs, const PPath &fileName) |
| Open a ofstream and says if there is a problem. | |
| typedef std::vector<std::ifstream> PVecIFStream |
Definition at line 16 of file openFileStream.h.
| typedef std::vector<std::ofstream> PVecOFStream |
Definition at line 15 of file openFileStream.h.
| void closeFileStream | ( | PVecIFStream & | fs | ) |
Close a vector of ifstream.
| [out] | fs | : vector of ifstream to be closed |
Definition at line 93 of file openFileStream.cpp.
| void closeFileStream | ( | PVecOFStream & | fs | ) |
Close a vector of ofstream.
| [out] | fs | : vector of ofstream to be closed |
Definition at line 84 of file openFileStream.cpp.
| bool openFileStream | ( | PVecIFStream & | fs, |
| const PPath & | fileName, | ||
| size_t | nbFile ) |
Open a vector of ifstream.
| [out] | fs | : vector of ifstream to be opened |
| fileName | : basic name of the file to be used (the file name will have a file index) | |
| nbFile | : number of file to open |
Definition at line 66 of file openFileStream.cpp.
References openFileStream().
Here is the call graph for this function:| bool openFileStream | ( | PVecOFStream & | fs, |
| const PPath & | fileName, | ||
| size_t | nbFile ) |
Open a vector of ofstream.
| [out] | fs | : vector of ofstream to be opened |
| fileName | : basic name of the file to be used (the file name will have a file index) | |
| nbFile | : number of file to open |
Definition at line 45 of file openFileStream.cpp.
References openFileStream().
Here is the call graph for this function:| bool openFileStream | ( | std::ifstream & | fs, |
| const PPath & | fileName ) |
Open a ofstream and says if there is a problem.
| fs | : ifstream to open |
| fileName | : name of the file in witch to write |
Definition at line 31 of file openFileStream.cpp.
| bool openFileStream | ( | std::ofstream & | fs, |
| const PPath & | fileName ) |
Open a ofstream and says if there is a problem.
| fs | : ofstream to open |
| fileName | : name of the file in witch to write |
Definition at line 18 of file openFileStream.cpp.
Referenced by openFileStream(), and openFileStream().
Here is the caller graph for this function: