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

Class for token input from a string range. More...

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

Public Member Functions

 FFaIteratorData (std::string::const_iterator b, std::string::const_iterator e)
 The constructor initializes the iterators. More...
 
virtual ~FFaIteratorData ()
 Empty destructor. More...
 
virtual void init (int &c)
 Initializes the instance, returning the first character to process. 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...
 

Private Attributes

std::string::const_iterator it
 Running iterator. More...
 
std::string::const_iterator jt
 Iterator pointing to next character. More...
 
std::string::const_iterator end
 End iterator. More...
 

Additional Inherited Members

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

Detailed Description

Class for token input from a string range.

Constructor & Destructor Documentation

◆ FFaIteratorData()

FFaIteratorData::FFaIteratorData ( std::string::const_iterator  b,
std::string::const_iterator  e 
)
inline

The constructor initializes the iterators.

◆ ~FFaIteratorData()

virtual FFaIteratorData::~FFaIteratorData ( )
inlinevirtual

Empty destructor.

Member Function Documentation

◆ eof()

virtual bool FFaIteratorData::eof ( ) const
inlinevirtual

Checks for end-of-file.

Implements FFaTokenInput.

◆ get()

virtual int FFaIteratorData::get ( )
inlinevirtual

Returns the next character to process.

Implements FFaTokenInput.

◆ init()

virtual void FFaIteratorData::init ( int &  c)
inlinevirtual

Initializes the instance, returning the first character to process.

Reimplemented from FFaTokenInput.

Member Data Documentation

◆ end

std::string::const_iterator FFaIteratorData::end
private

End iterator.

◆ it

std::string::const_iterator FFaIteratorData::it
private

Running iterator.

◆ jt

std::string::const_iterator FFaIteratorData::jt
private

Iterator pointing to next character.


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