ewmscp  ..
Public Member Functions | Public Attributes | Protected Attributes | List of all members
fieldHandlerBase Class Referenceabstract
Inheritance diagram for fieldHandlerBase:
[legend]
Collaboration diagram for fieldHandlerBase:
[legend]

Public Member Functions

 fieldHandlerBase (char shortName, const std::string &aName, const std::string &aExplanation)
 
virtual void print (const std::string &fsname, const struct statvfs &stat, bool printAll)=0
 

Public Attributes

options::single< bool > opt
 

Protected Attributes

std::string fieldName
 
std::string explanation
 

Detailed Description

Definition at line 8 of file statvfs.cpp.

Constructor & Destructor Documentation

◆ fieldHandlerBase()

fieldHandlerBase::fieldHandlerBase ( char  shortName,
const std::string &  aName,
const std::string &  aExplanation 
)
inline

Definition at line 14 of file statvfs.cpp.

16  :
17  fieldName(aName),
18  explanation(aExplanation),
19  opt(shortName, aName, aExplanation) {};

Member Function Documentation

◆ print()

virtual void fieldHandlerBase::print ( const std::string &  fsname,
const struct statvfs &  stat,
bool  printAll 
)
pure virtual

Member Data Documentation

◆ explanation

std::string fieldHandlerBase::explanation
protected

Definition at line 11 of file statvfs.cpp.

◆ fieldName

std::string fieldHandlerBase::fieldName
protected

Definition at line 10 of file statvfs.cpp.

Referenced by fieldHandlerTpl< unsigned long >::print().

◆ opt

options::single<bool> fieldHandlerBase::opt

Definition at line 13 of file statvfs.cpp.

Referenced by fieldHandlerTpl< unsigned long >::print().


The documentation for this class was generated from the following file:
fieldHandlerBase::fieldName
std::string fieldName
Definition: statvfs.cpp:10
fieldHandlerBase::explanation
std::string explanation
Definition: statvfs.cpp:11
fieldHandlerBase::opt
options::single< bool > opt
Definition: statvfs.cpp:13