FEDEM Solver
R8.0
Source code of the dynamics solver
|
Class for file stream based on standard IO. More...
Public Member Functions | |
F_stream (FILE *_fd) | |
The constructor sets the file pointer. More... | |
virtual | ~F_stream () |
Empty destructor. More... | |
virtual int | getC () |
Returns the next character from the file. More... | |
virtual int | read (void *buf, size_t m, size_t n) |
Reads the specified number of bytes from the file. More... | |
virtual int | write (void *buf, size_t m, size_t n) |
Writes the specified number of bytes to the file. More... | |
![]() | |
virtual | ~FFa_stream () |
Empty destructor. More... | |
Private Attributes | |
FILE * | fd |
File pointer. More... | |
Additional Inherited Members | |
![]() | |
FFa_stream () | |
Default constructor. More... | |
Class for file stream based on standard IO.
|
inline |
The constructor sets the file pointer.
|
inlinevirtual |
Empty destructor.
|
inlinevirtual |
Returns the next character from the file.
Implements FFa_stream.
|
inlinevirtual |
Reads the specified number of bytes from the file.
Implements FFa_stream.
|
inlinevirtual |
Writes the specified number of bytes to the file.
Implements FFa_stream.
|
private |
File pointer.