ProcPart.h

Go to the documentation of this file.
00001 #ifndef PROC_PART_H
00002 #define PROC_PART_H
00003 
00004 #include <string>
00005 #include <list>
00006 #include <map>
00007 
00008 #include "y2storage/AsciiFile.h"
00009 
00010 namespace storage
00011 {
00012 
00013 class ProcPart : public AsciiFile
00014     {
00015     public:
00016         ProcPart();
00017         bool getInfo( const string& Dev, unsigned long long& SizeK, 
00018                       unsigned long& Major, unsigned long& Minor ) const;
00019         bool getSize( const string& Dev, unsigned long long& SizeK ) const;
00020         std::list<string> getMatchingEntries( const string& regexp ) const;
00021     protected:
00022         static string devName( const string& Dev );
00023         std::map<string,int> co;
00024     };
00025 
00026 }
00027 
00028 #endif

Generated on Thu Jul 6 00:40:24 2006 for yast2-storage by  doxygen 1.4.6