storage::Parted Class Reference

#include <Parted.h>

List of all members.

Public Types

typedef vector< Entry >
::const_iterator 
const_iterator

Public Member Functions

 Parted (const string &device)
const string & getLabel () const
const GeometrygetGeometry () const
bool getGptEnlarge () const
const vector< Entry > & getEntries () const
bool getEntry (unsigned num, Entry &entry) const

Private Types

typedef vector< Entry >::iterator iterator

Private Member Functions

void scanSectorSizeLine (const string &line)
void scanGeometryLine (const string &line)
void scanCylEntryLine (const string &line)
void scanSecEntryLine (const string &line)

Private Attributes

string label
Geometry geometry
bool gpt_enlarge
vector< Entryentries

Classes

struct  Entry


Member Typedef Documentation

typedef vector<Entry>::iterator storage::Parted::iterator [private]


Constructor & Destructor Documentation

storage::Parted::Parted ( const string &  device  ) 


Member Function Documentation

const string& storage::Parted::getLabel (  )  const [inline]

const Geometry& storage::Parted::getGeometry (  )  const [inline]

bool storage::Parted::getGptEnlarge (  )  const [inline]

References gpt_enlarge.

Referenced by storage::Disk::detectPartitions().

const vector<Entry>& storage::Parted::getEntries (  )  const [inline]

References entries.

Referenced by storage::Disk::checkPartedOutput().

bool storage::Parted::getEntry ( unsigned  num,
Entry entry 
) const

void storage::Parted::scanSectorSizeLine ( const string &  line  )  [private]

void storage::Parted::scanGeometryLine ( const string &  line  )  [private]

void storage::Parted::scanCylEntryLine ( const string &  line  )  [private]

void storage::Parted::scanSecEntryLine ( const string &  line  )  [private]

References storage::classic(), entries, and y2err.

Referenced by Parted().


Member Data Documentation

string storage::Parted::label [private]

Referenced by getLabel(), Parted(), and scanCylEntryLine().

Referenced by getGptEnlarge(), and Parted().

vector<Entry> storage::Parted::entries [private]


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

Generated on Mon Feb 6 10:42:58 2012 for yast2-storage by  doxygen 1.5.6