FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Protected Member Functions | List of all members
FFa_stream Class Referenceabstract

Interface class for stream-based reading/writing of file tags. More...

Inheritance diagram for FFa_stream:
Inheritance graph
[legend]

Public Member Functions

virtual ~FFa_stream ()
 Empty destructor. More...
 
virtual int getC ()=0
 Returns the next character from the stream. More...
 
virtual int read (void *, size_t, size_t)=0
 Reads the specified number of data items from the stream. More...
 
virtual int write (void *, size_t, size_t)=0
 Writes the specified number of data items to the stream. More...
 

Protected Member Functions

 FFa_stream ()
 Default constructor. More...
 

Detailed Description

Interface class for stream-based reading/writing of file tags.

This is a base class used in FFaTag_read() and FFaTag_write() such that those implementations can be made independent on whether we are using the low-level IO-functions or not.

Constructor & Destructor Documentation

◆ FFa_stream()

FFa_stream::FFa_stream ( )
inlineprotected

Default constructor.

◆ ~FFa_stream()

virtual FFa_stream::~FFa_stream ( )
inlinevirtual

Empty destructor.

Member Function Documentation

◆ getC()

virtual int FFa_stream::getC ( )
pure virtual

Returns the next character from the stream.

Implemented in F_stream.

◆ read()

virtual int FFa_stream::read ( void *  ,
size_t  ,
size_t   
)
pure virtual

Reads the specified number of data items from the stream.

Implemented in F_stream.

◆ write()

virtual int FFa_stream::write ( void *  ,
size_t  ,
size_t   
)
pure virtual

Writes the specified number of data items to the stream.

Implemented in F_stream.


The documentation for this class was generated from the following file: