#include <Lsscsi.h>
Public Member Functions | |
| Lsscsi () | |
| bool | getEntry (const string &device, Entry &entry) const |
Protected Types | |
| typedef map< string, Entry > ::const_iterator | const_iterator |
Protected Member Functions | |
| void | parse (const vector< string > &lines) |
Protected Attributes | |
| map< string, Entry > | data |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const Entry &entry) |
Classes | |
| struct | Entry |
typedef map<string, Entry>::const_iterator storage::Lsscsi::const_iterator [protected] |
| storage::Lsscsi::Lsscsi | ( | ) |
References LSSCSIBIN, parse(), storage::SystemCmd::retcode(), and storage::SystemCmd::stdout().
| bool storage::Lsscsi::getEntry | ( | const string & | device, | |
| Entry & | entry | |||
| ) | const |
| void storage::Lsscsi::parse | ( | const vector< string > & | lines | ) | [protected] |
References storage::ATA, data, storage::decString(), storage::extractNthWord(), storage::FC, storage::FCOE, getline(), storage::ISCSI, storage::readlink(), storage::SAS, storage::SATA, storage::SBP, storage::SPI, storage::Disk::sysfsPath(), storage::Lsscsi::Entry::transport, storage::USB, and y2mil.
Referenced by Lsscsi().
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const Entry & | entry | |||
| ) | [friend] |
map<string, Entry> storage::Lsscsi::data [protected] |
Referenced by getEntry(), and parse().
1.5.6