|
filemm::basic_file_traits< char > Struct Template Reference#include <file.hh>
List of all members. template<>
struct filemm::basic_file_traits< char >
Member Typedef Documentation
|
Integer type.
Definition at line 63 of file file.hh. |
|
The offset type.
Definition at line 67 of file file.hh. |
|
The position type.
Definition at line 65 of file file.hh. |
|
The type of the traits.
Definition at line 61 of file file.hh. |
Member Function Documentation
|
- Returns:
- The end of file marker for the character type
Definition at line 96 of file file.hh. |
|
Put a character c to the file file.
- Parameters:
-
| c | Character to put to the file |
| file | File pointer |
- Returns:
- On success, c cast to the integer type, or EOF on failure
Definition at line 73 of file file.hh. |
|
Get a single character from the file file.
- Parameters:
-
| file | File pointer to read the character from |
- Returns:
- EOF on end of file, or error. Otherwise character read from file, cast to the integer type
Definition at line 81 of file file.hh. |
|
Pushes c back to the file, where it is available for subsequent read operations.
Pushed - back characters will be returned in reverse order; only one pushback is guaranteed. - Parameters:
-
| c | Character to push back. |
| file | File pointer to push back to |
- Returns:
- The character pushed back, or EOF on error
Definition at line 91 of file file.hh. |
The documentation for this struct was generated from the following file:
Top of page
Last update Wed Apr 13 07:51:08 2005
Christian Holm
Created by DoxyGen 1.4.2
|