home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / icnrctl.inl < prev    next >
Encoding:
Text File  |  1996-02-22  |  2.3 KB  |  53 lines

  1. #ifndef _ICNRCTL_INL_
  2. #define _ICNRCTL_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: icnrctl.inl                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   classes declared in icnrctl.hpp.                                           *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #ifndef _ICNRCTL_
  19.   #undef  _ICNRCTL_INL_
  20.   #define _ICNRCTL_INL_ 1
  21.   #include <icnrctl.hpp>
  22. #endif
  23.  
  24. #if _ICNRCTL_INL_
  25.   #define inline
  26. #endif
  27.  
  28. inline IBase::Boolean IContainerControl::operator==( const IContainerControl& that)
  29.        { return (&that==this); }
  30.  
  31. inline IBase::Boolean IContainerControl::willDeleteObjectsOnClose( ) const
  32.        { return ((flClState & IContainerControl::autoDeleteObjects) ? true : false);}
  33.  
  34. inline IBase::Boolean IContainerControl::willDeleteColumnsOnClose( ) const
  35.        { return ((flClState & IContainerControl::autoDeleteColumns) ? true : false);}
  36.  
  37. inline unsigned long IContainerControl::numberOfObjectChanges() const
  38.        {return ulClObjectChanges; }
  39.  
  40. inline unsigned long IContainerControl::numberOfColumnChanges() const
  41.        {return ulClColumnChanges; }
  42.  
  43. inline IBase::Boolean IContainerControl::isRefreshOn() const
  44. { return ((flClState & IContainerControl::noRefresh) ? false : true); }
  45.  
  46. inline IContainerControl& IContainerControl :: disableCaching()
  47. {
  48.    enableCaching(0);
  49.    return *this;
  50. }
  51.  
  52. #endif // _ICNRCTL_INL_
  53.