libstorage-ng
|
A class to represent hardware alignment information. More...
#include <Topology.h>
Public Member Functions | |
Topology (long alignment_offset, unsigned long optimal_io_size) | |
Topology (const Topology &topology) | |
Topology (Topology &&topology)=default | |
Topology & | operator= (const Topology &topology) |
Topology & | operator= (Topology &&topology)=default |
long | get_alignment_offset () const |
void | set_alignment_offset (long alignment_offset) |
unsigned long | get_optimal_io_size () const |
void | set_optimal_io_size (unsigned long optimal_io_size) |
unsigned long | get_minimal_grain () const |
void | set_minimal_grain (unsigned long minimal_grain) |
bool | operator== (const Topology &rhs) const |
bool | operator!= (const Topology &rhs) const |
Impl & | get_impl () |
const Impl & | get_impl () const |
Friends | |
std::ostream & | operator<< (std::ostream &s, const Topology &topology) |
bool | getChildValue (const xmlNode *node, const char *name, Topology &topology) |
void | setChildValue (xmlNode *node, const char *name, const Topology &topology) |
A class to represent hardware alignment information.