![]() |
PhoenixInkscape
2.0.0
Generate multiple png files with svg inkscape files
|
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. More... | |
void | closeFileStream (PVecOFStream &fs) |
Close a vector of ofstream. More... | |
bool | openFileStream (PVecIFStream &fs, const PPath &fileName, size_t nbFile) |
Open a vector of ifstream. More... | |
bool | openFileStream (PVecOFStream &fs, const PPath &fileName, size_t nbFile) |
Open a vector of ofstream. More... | |
bool | openFileStream (std::ifstream &fs, const PPath &fileName) |
Open a ofstream and says if there is a problem. More... | |
bool | openFileStream (std::ofstream &fs, const PPath &fileName) |
Open a ofstream and says if there is a problem. More... | |
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.
Referenced by checkOpenVecFileStream().
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 PPath::eraseExtension(), PPath::getExtension(), openFileStream(), and valueToString().
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 PPath::eraseExtension(), PPath::getExtension(), openFileStream(), and valueToString().
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 checkOpenFileStream(), checkOpenVecFileStream(), and openFileStream().