27 p_fp = fopen(fileName.c_str(), mode.c_str());
Path of a directory or a file.
void initialisationPStream()
Initialisation function of the class PStream.
PStream()
Default constructor of PStream.
FILE * p_fp
Pointer to the main stream.
virtual ~PStream()
Destructor of PStream.
bool isOpen() const
Say if the stream is opened.
bool open(const PPath &fileName, const PString &mode="r")
Open the current stream.
void close()
Close the stream.