smartmontools  SVN Rev 5304
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 ()
 
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)
 
void append (smart_device_list &devlist)
 

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 797 of file dev_interface.h.

Constructor & Destructor Documentation

◆ smart_device_list() [1/2]

smart_device_list::smart_device_list ( )
inline

Definition at line 801 of file dev_interface.h.

◆ ~smart_device_list()

smart_device_list::~smart_device_list ( )
inline

Definition at line 804 of file dev_interface.h.

◆ smart_device_list() [2/2]

smart_device_list::smart_device_list ( const smart_device_list )
private

Member Function Documentation

◆ append()

void smart_device_list::append ( smart_device_list devlist)
inline

Definition at line 845 of file dev_interface.h.

◆ at() [1/2]

smart_device* smart_device_list::at ( unsigned  i)
inline

Definition at line 832 of file dev_interface.h.

◆ at() [2/2]

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

Definition at line 835 of file dev_interface.h.

◆ clear()

void smart_device_list::clear ( )
inline

Definition at line 815 of file dev_interface.h.

◆ operator=()

void smart_device_list::operator= ( const smart_device_list )
private

◆ push_back() [1/2]

void smart_device_list::push_back ( smart_device dev)
inline

Definition at line 823 of file dev_interface.h.

◆ push_back() [2/2]

void smart_device_list::push_back ( smart_device_auto_ptr dev)
inline

Definition at line 826 of file dev_interface.h.

◆ release()

smart_device* smart_device_list::release ( unsigned  i)
inline

Definition at line 838 of file dev_interface.h.

◆ size()

unsigned smart_device_list::size ( ) const
inline

Definition at line 811 of file dev_interface.h.

Member Data Documentation

◆ m_list

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

Definition at line 858 of file dev_interface.h.


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