00001 // Emacs -*- C++ -*- 00002 #ifndef ANAPHE_MOUNTINFO 00003 #define ANAPHE_MOUNTINFO 1 00004 00005 #include <string> 00006 00007 namespace AIDA { 00008 namespace Dev { 00009 class IDevTree; 00010 } 00011 } 00012 00013 namespace Anaphe { 00014 namespace AIDA_Tree_native { 00015 00017 00018 class MountInfo { 00019 00020 public: 00022 MountInfo( AIDA::Dev::IDevTree* targetTree, 00023 const std::string& targetPath, 00024 const std::string& mountPoint ): 00025 m_targetTree( targetTree ), 00026 m_targetPath( targetPath ), 00027 m_mountPoint( mountPoint ) 00028 {} 00029 00031 ~MountInfo(){} 00032 00034 AIDA::Dev::IDevTree* targetTree() const {return m_targetTree;} 00035 00037 const std::string targetPath() const {return m_targetPath;} 00038 00040 const std::string mountPoint() const {return m_mountPoint;} 00041 00042 private: 00043 AIDA::Dev::IDevTree* m_targetTree; 00044 std::string m_targetPath; 00045 std::string m_mountPoint; 00046 }; 00047 00048 } 00049 } 00050 00051 #endif /* ifndef ANAPHE_MOUNTINFO */