|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class ITextFileC is an output stream that can opened from a file
or attached to the 'cout' standard input stream using the name "-".
It checks the state of the stream after the opening and before
its closing. The class was created to unify different interfaces
of stream supplied by compiler providers.
OBSOLETE: Use OStreamC
Parent Classes:
public AMMAOstreamWithAssignC
Derived Classes:
Enumerated types:
- enum OpenModeT { binary } ;
-
Special constructors
--------------------
Variables:
- char * name;
-
The name of the stream.
- ofstream * fs;
-
The file stream if any.
Methods:
- OTextFileC(ostream & s)
-
Attaches the output stream 's'.
- OTextFileC(const char * fileName)
-
- ~OTextFileC()
-
Closes the output stream.
The status of the stream.
-------------------------
- ostream & Stream()
-
Returns the stream.
- const char * Name() const
-
Returns the name of the stream.
- OTextFileC(const char * fileName,OpenModeT m)
-
Opens the file with the name 'fileName' in special mode 'm'.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|