libstorage-ng
Public Member Functions | List of all members
storage::SystemInfo Class Reference

The SystemInfo class keeps various system information. More...

#include <SystemInfo.h>

Inheritance diagram for storage::SystemInfo:
[legend]
Collaboration diagram for storage::SystemInfo:
[legend]

Public Member Functions

const Archget_arch ()
 Get an Arch object. More...
 
Impl & get_impl ()
 
const Impl & get_impl () const
 

Detailed Description

The SystemInfo class keeps various system information.

So far the class can only be used for the Storage::probe(), lighe_probe() and BlkDevice::find_by_any_name() functions. There it can avoid querying the same information from the system several times when using several calls to BlkDevice::find_by_any_name().

After modifying the storage system the SystemInfo object is invalid and must not be used anymore.

Member Function Documentation

◆ get_arch()

const Arch& storage::SystemInfo::get_arch ( )

Get an Arch object.

Exceptions
Exception

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