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

LvmAgent.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Maintainer: fehr@suse.de
00003 
00004 #ifndef LvmAgent_h
00005 #define LvmAgent_h
00006 
00007 #include <scr/SCRAgent.h>
00008 #include <Y2.h>
00009 #include <LvmAccess.h>
00010 
00015 class LvmAgent : public SCRAgent 
00016 {
00017 public:
00018   LvmAgent();
00019 
00020   ~LvmAgent();
00021 
00027   YCPValue Read( const YCPPath& path, const YCPValue& arg = YCPNull(),
00028                  const YCPValue& opt = YCPNull());
00029 
00030 
00034   YCPBoolean Write(const YCPPath& path, const YCPValue& value, const YCPValue& arg = YCPNull());
00035 
00039   YCPList Dir(const YCPPath& path);
00040 protected:
00041   YCPMap CreateLvMap( const LvInfo& Lv_Cv );
00042   YCPMap CreatePvMap( const PvInfo& Pv_Cv );
00043   YCPMap CreateVgMap( const VgInfo& Vg_Cv );
00044   YCPMap   Err_C;
00045   LvmAccess *Lvm_pC;
00046 };
00047 
00048 
00049 #endif // LvmAgent_h

Generated on Wed Nov 12 06:35:35 2008 for yast2-storage by  doxygen 1.3.9.1