FME Server C++ API 3.0

ifmeservertemplate.h

Go to the documentation of this file.
00001 #ifndef _IFMESERVERTEMPLATE_H
00002 #define _IFMESERVERTEMPLATE_H
00003 
00056 #include <fmeservertypes.h>
00057 #include <ifmeservervector.h>
00058 
00059 class IFMEServerString;
00060 
00061 class IFMEServerTemplate
00062 {
00063 public:
00064 
00065    //-------------------------------------------------------------------
00069    virtual void getName(IFMEServerString& name) const = 0;
00070 
00071    //-------------------------------------------------------------------
00076    virtual void getDescription(IFMEServerString& description) const = 0;
00077 
00078    //-------------------------------------------------------------------
00082    virtual IFMEServerResourceVector* getResources() const = 0;
00083 
00084    //-------------------------------------------------------------------
00089    virtual void getTitle(IFMEServerString& title) const = 0;
00090 
00091    //-------------------------------------------------------------------
00095    virtual FME_UInt32 getFileSize() const = 0;
00096    
00097 protected:
00098 
00099    // -----------------------------------------------------------------------
00100    // No one should be creating an instance of this directly, so we
00101    // make the constructor protected.
00102    IFMEServerTemplate() {}
00103 
00104    // -----------------------------------------------------------------------
00105    // No one should be destroying an instance of this directly, so we
00106    // make the destructor protected.
00107    virtual ~IFMEServerTemplate() {}
00108 
00109 private:
00110 
00111    // -----------------------------------------------------------------------
00112    // The copy constructor is not implemented.
00113    IFMEServerTemplate(const IFMEServerTemplate &other);
00114 
00115    //---------------------------------------------------------------
00116    // The assignment operator is not implemented. 
00117    IFMEServerTemplate &operator=(const IFMEServerTemplate &other);
00118 };
00119 
00120 #endif
00121 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines