smartmontools  SVN Rev 4321
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 266 of file dev_interface.h.

Constructor & Destructor Documentation

ata_register::ata_register ( )
inline

Definition at line 269 of file dev_interface.h.

Member Function Documentation

bool ata_register::is_set ( ) const
inline

Definition at line 280 of file dev_interface.h.

ata_register::operator unsigned char ( ) const
inline

Definition at line 277 of file dev_interface.h.

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

Definition at line 272 of file dev_interface.h.

unsigned char ata_register::val ( ) const
inline

Definition at line 275 of file dev_interface.h.

Member Data Documentation

bool ata_register::m_is_set
private

true if set

Definition at line 285 of file dev_interface.h.

unsigned char ata_register::m_val
private

Register value.

Definition at line 284 of file dev_interface.h.


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