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

ATA register value and info whether it has ever been set. More...

#include <dev_interface.h>

Collaboration diagram for ata_register:
Collaboration graph
[legend]

Public Member Functions

 ata_register ()
 
ata_registeroperator= (unsigned char x)
 
unsigned char val () const
 
 operator unsigned char () const
 
bool is_set () const
 

Private Attributes

unsigned char m_val
 Register value. More...
 
bool m_is_set
 true if set More...
 

Detailed Description

ATA register value and info whether it has ever been set.

Definition at line 236 of file dev_interface.h.

Constructor & Destructor Documentation

ata_register::ata_register ( )
inline

Definition at line 239 of file dev_interface.h.

Member Function Documentation

bool ata_register::is_set ( ) const
inline

Definition at line 250 of file dev_interface.h.

ata_register::operator unsigned char ( ) const
inline

Definition at line 247 of file dev_interface.h.

ata_register& ata_register::operator= ( unsigned char  x)
inline

Definition at line 242 of file dev_interface.h.

unsigned char ata_register::val ( ) const
inline

Definition at line 245 of file dev_interface.h.

Member Data Documentation

bool ata_register::m_is_set
private

true if set

Definition at line 255 of file dev_interface.h.

unsigned char ata_register::m_val
private

Register value.

Definition at line 254 of file dev_interface.h.


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