FME Server C++ API 3.0
|
00001 #ifndef _IFMESERVERPATH_H 00002 #define _IFMESERVERPATH_H 00003 00056 class IFMEServerString; 00057 00058 //=========================================================================== 00059 // Abstract Interface Class -- all methods are virtual and it has no data 00060 class IFMEServerPath 00061 { 00062 public: 00063 // ----------------------------------------------------------------------- 00068 virtual void getName(IFMEServerString& name) const = 0; 00069 00070 // ----------------------------------------------------------------------- 00075 virtual void getDirPath(IFMEServerString& dirPath) const = 0; 00076 00077 // ----------------------------------------------------------------------- 00082 virtual void getAbsolutePath(IFMEServerString& absPath) const = 0; 00083 00084 protected: 00085 00086 // ----------------------------------------------------------------------- 00087 // No one should be creating an instance of this directly, so we 00088 // make the constructor protected. 00089 IFMEServerPath() {} 00090 00091 // ----------------------------------------------------------------------- 00092 // No one should be destroying an instance of this directly, so we 00093 // make the destructor protected. 00094 virtual ~IFMEServerPath() {} 00095 00096 private: 00097 00098 // ----------------------------------------------------------------------- 00099 // The copy constructor is not implemented. 00100 IFMEServerPath(const IFMEServerPath &other); 00101 00102 // ----------------------------------------------------------------------- 00103 // The assignment operator is not implemented. 00104 IFMEServerPath &operator=(const IFMEServerPath &other); 00105 00106 }; 00107 00108 #endif