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

List of devices for DEVICESCAN. More...

#include <dev_interface.h>

Collaboration diagram for smart_device_list:
Collaboration graph
[legend]

Public Member Functions

 smart_device_list ()
 
 ~smart_device_list () throw ()
 
unsigned size () const
 
void clear ()
 
void push_back (smart_device *dev)
 
void push_back (smart_device_auto_ptr &dev)
 
smart_deviceat (unsigned i)
 
const smart_deviceat (unsigned i) const
 
smart_devicerelease (unsigned i)
 

Private Member Functions

 smart_device_list (const smart_device_list &)
 
void operator= (const smart_device_list &)
 

Private Attributes

std::vector< smart_device * > m_list
 

Detailed Description

List of devices for DEVICESCAN.

Definition at line 669 of file dev_interface.h.

Constructor & Destructor Documentation

smart_device_list::smart_device_list ( )
inline

Definition at line 673 of file dev_interface.h.

smart_device_list::~smart_device_list ( )
throw (
)
inline

Definition at line 676 of file dev_interface.h.

smart_device_list::smart_device_list ( const smart_device_list )
private

Member Function Documentation

smart_device* smart_device_list::at ( unsigned  i)
inline

Definition at line 704 of file dev_interface.h.

const smart_device* smart_device_list::at ( unsigned  i) const
inline

Definition at line 707 of file dev_interface.h.

void smart_device_list::clear ( )
inline

Definition at line 687 of file dev_interface.h.

void smart_device_list::operator= ( const smart_device_list )
private
void smart_device_list::push_back ( smart_device dev)
inline

Definition at line 695 of file dev_interface.h.

void smart_device_list::push_back ( smart_device_auto_ptr dev)
inline

Definition at line 698 of file dev_interface.h.

smart_device* smart_device_list::release ( unsigned  i)
inline

Definition at line 710 of file dev_interface.h.

unsigned smart_device_list::size ( ) const
inline

Definition at line 683 of file dev_interface.h.

Member Data Documentation

std::vector<smart_device *> smart_device_list::m_list
private

Definition at line 719 of file dev_interface.h.


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