smartmontools  SVN Rev 4111
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Public Attributes | List of all members
smart_device::error_info Struct Reference

Error (number,message) pair. More...

#include <dev_interface.h>

Collaboration diagram for smart_device::error_info:
Collaboration graph
[legend]

Public Member Functions

 error_info (int n=0)
 
 error_info (int n, const char *m)
 
void clear ()
 

Public Attributes

int no
 Error number. More...
 
std::string msg
 Error message. More...
 

Detailed Description

Error (number,message) pair.

Definition at line 58 of file dev_interface.h.

Constructor & Destructor Documentation

smart_device::error_info::error_info ( int  n = 0)
inlineexplicit

Definition at line 59 of file dev_interface.h.

smart_device::error_info::error_info ( int  n,
const char *  m 
)
inline

Definition at line 61 of file dev_interface.h.

Member Function Documentation

void smart_device::error_info::clear ( )
inline

Definition at line 63 of file dev_interface.h.

Member Data Documentation

std::string smart_device::error_info::msg

Error message.

Definition at line 67 of file dev_interface.h.

int smart_device::error_info::no

Error number.

Definition at line 66 of file dev_interface.h.


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