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

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

#include <dev_interface.h>

Collaboration diagram for smart_device::error_info:
Collaboration graph

List of all members.

Public Member Functions

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

Public Attributes

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

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) [inline, explicit]

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

Error message.

Definition at line 67 of file dev_interface.h.

Error number.

Definition at line 66 of file dev_interface.h.

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