smartmontools SVN Rev 5617
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Private Member Functions | Private Attributes | List of all members
stdin_iterator Class Reference
Collaboration diagram for stdin_iterator:
Collaboration graph
[legend]

Public Member Functions

 stdin_iterator (FILE *f)
 
stdin_iteratoroperator++ ()
 
char operator* () const
 
char operator[] (int i) const
 

Private Member Functions

void get ()
 
void fail () const
 

Private Attributes

FILE * m_f
 
char m_c
 
char m_next
 

Detailed Description

Definition at line 612 of file knowndrives.cpp.

Constructor & Destructor Documentation

◆ stdin_iterator()

stdin_iterator::stdin_iterator ( FILE *  f)
inlineexplicit

Definition at line 615 of file knowndrives.cpp.

Member Function Documentation

◆ fail()

void stdin_iterator::fail ( ) const
private

Definition at line 645 of file knowndrives.cpp.

◆ get()

void stdin_iterator::get ( )
private

Definition at line 638 of file knowndrives.cpp.

◆ operator*()

char stdin_iterator::operator* ( ) const
inline

Definition at line 621 of file knowndrives.cpp.

◆ operator++()

stdin_iterator & stdin_iterator::operator++ ( )
inline

Definition at line 618 of file knowndrives.cpp.

◆ operator[]()

char stdin_iterator::operator[] ( int  i) const
inline

Definition at line 624 of file knowndrives.cpp.

Member Data Documentation

◆ m_c

char stdin_iterator::m_c
private

Definition at line 633 of file knowndrives.cpp.

◆ m_f

FILE* stdin_iterator::m_f
private

Definition at line 632 of file knowndrives.cpp.

◆ m_next

char stdin_iterator::m_next
private

Definition at line 633 of file knowndrives.cpp.


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