FME Server C++ API 3.0

ifmeserverattribute.h

Go to the documentation of this file.
00001 #ifndef _IFMESERVERATTRIBUTE_H
00002 #define _IFMESERVERATTRIBUTE_H
00003 
00057 #include <fmeservertypes.h>
00058 
00059 class IFMEServerString;
00060 
00061 class IFMEServerAttribute
00062 {
00063 public:
00064 
00065    //-------------------------------------------------------------------
00066    virtual void getName(IFMEServerString& name) const = 0;
00067 
00068    //-------------------------------------------------------------------
00069    virtual void getType(IFMEServerString& type) const = 0;
00070 
00071    //-------------------------------------------------------------------
00072    virtual FME_Int32 getDecimals() const = 0;
00073 
00074    //-------------------------------------------------------------------
00075    virtual FME_Int32 getWidth() const = 0;
00076 
00077 protected:
00078 
00079    // -----------------------------------------------------------------------
00080    // No one should be creating an instance of this directly, so we
00081    // make the constructor protected.
00082    IFMEServerAttribute() {}
00083 
00084    // -----------------------------------------------------------------------
00085    // No one should be destroying an instance of this directly, so we
00086    // make the destructor protected.
00087    virtual ~IFMEServerAttribute() {}
00088 
00089 private:
00090 
00091    // -----------------------------------------------------------------------
00092    // The copy constructor is not implemented.
00093    IFMEServerAttribute(const IFMEServerAttribute &other);
00094 
00095    //---------------------------------------------------------------
00096    // The assignment operator is not implemented. 
00097    IFMEServerAttribute &operator=(const IFMEServerAttribute &other);
00098 };
00099 
00100 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines