yast2-storage
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes

storage::Parted Class Reference

#include <Parted.h>

List of all members.

Classes

struct  Entry

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

References entries.

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

References entries.

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

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

References geometry.

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

References gpt_enlarge.

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

References label.

Referenced by storage::MdPartCo::hasPartitionTable().

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

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

Referenced by Parted().

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

Member Data Documentation

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

Referenced by getGptEnlarge(), and Parted().

string storage::Parted::label [private]

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


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