libstorage-ng
Public Member Functions | Friends | List of all members
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: