home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / acdf6 / acdfmdl6.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  1.2 KB  |  46 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //                        SAMPLE CODE
  3. //
  4. // FileName: ACDFMdl6.hpp
  5. //
  6. // ClassName: ACompDocFwkModel
  7. //
  8. // Description: Conversion of the Hello World 5 Sample
  9. //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #ifndef _COMPDOCFWKMODEL_
  12. #define _COMPDOCFWKMODEL_
  13.  
  14. #ifdef IC_TRACE_DEVELOP
  15.     #include <itrace.hpp>
  16. #else
  17.     #define IFUNCTRACE_DEVELOP()
  18.     #define ITRACE_DEVELOP(x)
  19. #endif
  20.  
  21. #include <inotifev.hpp>
  22.  
  23. #include <imodel.hpp>
  24.  
  25. class ACompDocFwkModel : public IModel    //Inherits from IModel
  26. {
  27. public:
  28.     TypeExtensionDeclarationsMacro(ACompDocFwkModel)
  29.  
  30.                             ACompDocFwkModel();
  31.     virtual                 ~ACompDocFwkModel();
  32.     
  33.     virtual IBaseStream&    operator>>=( IBaseStream& towhere ) const;
  34.     virtual IBaseStream&    operator<<=( IBaseStream& fromwhere );
  35.  
  36. protected:
  37.                             ACompDocFwkModel( const ACompDocFwkModel&);
  38.  
  39. private:
  40.     enum                    { kOriginalVersion };
  41.     ACompDocFwkModel&       operator=(const ACompDocFwkModel&);
  42.  
  43. };
  44.  
  45. #endif
  46.