smartmontools SVN Rev 5640
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.
 
bool m_is_set
 true if set
 

Detailed Description

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

Definition at line 259 of file dev_interface.h.

Constructor & Destructor Documentation

◆ ata_register()

ata_register::ata_register ( )
inline

Definition at line 262 of file dev_interface.h.

Member Function Documentation

◆ is_set()

bool ata_register::is_set ( ) const
inline

Definition at line 273 of file dev_interface.h.

◆ operator unsigned char()

ata_register::operator unsigned char ( ) const
inline

Definition at line 270 of file dev_interface.h.

◆ operator=()

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

Definition at line 265 of file dev_interface.h.

◆ val()

unsigned char ata_register::val ( ) const
inline

Definition at line 268 of file dev_interface.h.

Member Data Documentation

◆ m_is_set

bool ata_register::m_is_set
private

true if set

Definition at line 278 of file dev_interface.h.

◆ m_val

unsigned char ata_register::m_val
private

Register value.

Definition at line 277 of file dev_interface.h.


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