FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | Private Attributes | List of all members
FFaFileData Class Reference

Class for token input from file. More...

Inheritance diagram for FFaFileData:
Inheritance graph
[legend]
Collaboration diagram for FFaFileData:
Collaboration graph
[legend]

Public Member Functions

 FFaFileData (FILE *f)
 The constructor initializes the file pointer. More...
 
virtual ~FFaFileData ()
 Empty destructor. More...
 
virtual bool eof () const
 Checks for end-of-file. More...
 
virtual int get ()
 Returns the next character to process. More...
 
- Public Member Functions inherited from FFaTokenInput
virtual ~FFaTokenInput ()
 Empty destructor. More...
 
virtual void init (int &)
 Initializes the instance, returning the first character to process. More...
 

Private Attributes

FILE * fd
 The file to read from. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FFaTokenInput
 FFaTokenInput ()
 Default constructor. More...
 

Detailed Description

Class for token input from file.

Constructor & Destructor Documentation

◆ FFaFileData()

FFaFileData::FFaFileData ( FILE *  f)
inline

The constructor initializes the file pointer.

◆ ~FFaFileData()

virtual FFaFileData::~FFaFileData ( )
inlinevirtual

Empty destructor.

Member Function Documentation

◆ eof()

virtual bool FFaFileData::eof ( ) const
inlinevirtual

Checks for end-of-file.

Implements FFaTokenInput.

◆ get()

virtual int FFaFileData::get ( )
inlinevirtual

Returns the next character to process.

Implements FFaTokenInput.

Member Data Documentation

◆ fd

FILE* FFaFileData::fd
private

The file to read from.


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