FME Server C++ API 3.0
|
00001 #ifndef _IFMESERVERMOUNTPOINTMANAGER_H 00002 #define _IFMESERVERMOUNTPOINTMANAGER_H 00003 00056 #include <fmeservertypes.h> 00057 #include <ifmeservervector.h> 00058 00059 class IFMEServerStatus; 00060 class IFMEServerString; 00061 class IFMEServerStringArray; 00062 00063 //=========================================================================== 00064 // Abstract Interface Class -- all methods are virtual and it has no data 00065 class IFMEServerMountPointManager 00066 { 00067 public: 00068 // ----------------------------------------------------------------------- 00079 virtual IFMEServerStatus* getMountPoints(const IFMEServerStringArray* directives, 00080 IFMEServerMountPointVector& mountPoints) const = 0; 00081 00082 // ----------------------------------------------------------------------- 00091 virtual IFMEServerStatus* getMountPoint(const IFMEServerString& name, 00092 IFMEServerMountPoint& mountPoint, 00093 FME_Boolean& exists) const = 0; 00094 00095 protected: 00096 00097 // ----------------------------------------------------------------------- 00098 // No one should be creating an instance of this directly, so we 00099 // make the constructor protected. 00100 IFMEServerMountPointManager() {} 00101 00102 // ----------------------------------------------------------------------- 00103 // No one should be destroying an instance of this directly, so we 00104 // make the destructor protected. 00105 virtual ~IFMEServerMountPointManager() {} 00106 00107 private: 00108 00109 // ----------------------------------------------------------------------- 00110 // The copy constructor is not implemented. 00111 IFMEServerMountPointManager(const IFMEServerMountPointManager &other); 00112 00113 // ----------------------------------------------------------------------- 00114 // The assignment operator is not implemented. 00115 IFMEServerMountPointManager &operator=(const IFMEServerMountPointManager &other); 00116 00117 }; 00118 00119 #endif