FME Server C++ API 3.0

ifmeserverresource.h

Go to the documentation of this file.
00001 #ifndef _IFMESERVERRESOURCE_H
00002 #define _IFMESERVERRESOURCE_H
00003 
00058 #include <fmeservertypes.h>
00059 
00060 class IFMEServerString;
00061 
00062 class IFMEServerResource
00063 {
00064 public:
00065 
00066    //-------------------------------------------------------------------
00070    virtual void getName(IFMEServerString& name) const = 0;
00071 
00072    //-------------------------------------------------------------------
00076    virtual void getDescription(IFMEServerString& description) const = 0;
00077 
00078    //-------------------------------------------------------------------
00082    virtual FME_UInt32 getFileSize() 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    IFMEServerResource() {}
00090 
00091    // -----------------------------------------------------------------------
00092    // No one should be destroying an instance of this directly, so we
00093    // make the destructor protected.
00094    virtual ~IFMEServerResource() {}
00095 
00096 private:
00097 
00098    // -----------------------------------------------------------------------
00099    // The copy constructor is not implemented.
00100    IFMEServerResource(const IFMEServerResource &other);
00101 
00102    //---------------------------------------------------------------
00103    // The assignment operator is not implemented. 
00104    IFMEServerResource &operator=(const IFMEServerResource &other);
00105 };
00106 
00107 #endif
00108 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines