Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

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 class ProcPart : public AsciiFile
00011     {
00012     public:
00013         ProcPart();
00014         bool getInfo( const string& Dev, unsigned long long& SizeK, 
00015                       unsigned long& Major, unsigned long& Minor ) const;
00016         bool getSize( const string& Dev, unsigned long long& SizeK ) const;
00017         std::list<string> getMatchingEntries( const string& regexp ) const;
00018     protected:
00019         static string devName( const string& Dev );
00020         std::map<string,int> co;
00021     };
00023 
00024 #endif

Generated on Wed Sep 14 11:27:07 2005 for yast2-storage by  doxygen 1.4.4