|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::COFile Class ReferenceOutput File.
More...
#include <file.h>
Inheritance diagram for NLMISC::COFile
[legend]Collaboration diagram for NLMISC::COFile:
[legend]List of all members.
Detailed Description
Output File.
-
Author(s):
-
Lionel Berenguier , Nevrax France
-
Date:
-
2000
Definition at line 112 of file file.h.
Constructor & Destructor Documentation
NLMISC::COFile::COFile (
|
)
|
|
|
Object. NB: destructor close() the stream.
Definition at line 147 of file file.cpp. |
NLMISC::COFile::COFile (
|
const std::string & path,
|
|
bool append = false,
|
|
bool text = false )
|
|
NLMISC::COFile::~COFile (
|
)
|
|
Member Function Documentation
void NLMISC::COFile::close (
|
)
|
|
|
Explicit close.
Definition at line 181 of file file.cpp. |
void NLMISC::COFile::flush (
|
)
|
|
|
flush the file.
Definition at line 191 of file file.cpp. |
bool NLMISC::COFile::open (
|
const std::string & path,
|
|
bool append = false,
|
|
bool text = false )
|
|
|
Open a file for writing. false if failed. close() if a file was opened.
Definition at line 166 of file file.cpp. |
|
Seek the file.
Definition at line 216 of file file.cpp. |
void NLMISC::COFile::serialBit (
|
bool & bit ) throw (EWriteError) [protected, virtual]
|
|
|
Method to be specified by the Deriver.
-
Warning:
-
Do not call these methods from outside, unless you really know what you are doing. Using them instead of serial() can lead to communication problems between different platforms !
Reimplemented from NLMISC::IStream.
Definition at line 201 of file file.cpp. |
Member Data Documentation
FILE * NLMISC::COFile::_F [private]
|
|
std::string NLMISC::COFile::_FileName [private]
|
|
The documentation for this class was generated from the following files:
|
|