libstorage-ng
Loading...
Searching...
No Matches
storage::Topology Class Reference

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
Topologyoperator= (const Topology &topology)
Topologyoperator= (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)

Detailed Description

A class to represent hardware alignment information.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/libstorage-ng-4.5.263-build/libstorage-ng-4.5.263/storage/Utils/Topology.h