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

  1. /**********************************************************************
  2. *                                                                     *
  3. *  IBM(R) VisualAge(TM) for C++ for Windows(R), Version 3.5           *
  4. *                                                                     *
  5. *  PID: 5622-880                                                      *
  6. *  - Licensed Material - Program-Property of IBM                      *
  7. *  (C) Copyright IBM Corp. 1991, 1995 - All Right Reserved.           *
  8. *                                                                     *
  9. *  US Government Users Restricted Rights - Use, duplication or        *
  10. *  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  *
  11. *                                                                     *
  12. *  VisualAge, and IBM are trademarks or registered trademarks of      *
  13. *  International Business Machines Corporation.                       *
  14. *  Windows is a registered trademark of Microsoft Corporation.        *
  15. *                                                                     *
  16. **********************************************************************/
  17.  
  18. // ---------------------------
  19. // ISequenceAsDilTableNodeImpl
  20. // ---------------------------
  21.  
  22. // public members
  23.  
  24. template <class Element>
  25. inline
  26. ISequenceAsDilTableNodeImpl <Element>::
  27. ISequenceAsDilTableNodeImpl (Element const& element)
  28. : ivElement (element)
  29. {
  30. }
  31.  
  32. template <class Element>
  33. inline
  34. ISequenceAsDilTableNodeImpl <Element>::
  35. ~ISequenceAsDilTableNodeImpl ()
  36. {
  37. }
  38.  
  39. // -----------------------------
  40. // ISequenceAsDilTableCursorImpl
  41. // -----------------------------
  42.  
  43. // public members
  44.  
  45. inline void
  46. ISequenceAsDilTableCursorImpl::
  47. Invalidate ()
  48. { ivIndex = 0;
  49. }
  50.  
  51. inline IBoolean
  52. ISequenceAsDilTableCursorImpl::
  53. IsInBetween () const
  54. { return false;
  55. }
  56.  
  57. inline IBoolean
  58. ISequenceAsDilTableCursorImpl::
  59. IsValid () const
  60. { return (ivIndex != 0);
  61. }
  62.  
  63. inline void
  64. ISequenceAsDilTableCursorImpl::
  65. operator= (ISequenceAsDilTableCursorImpl const& cursor)
  66. { Inherited::operator= (cursor);
  67.   ivIndex = cursor.ivIndex;
  68. }
  69.  
  70. inline IBoolean
  71. ISequenceAsDilTableCursorImpl::
  72. operator== (ICursorImpl const& cursor) const
  73. { return (Inherited::operator== (cursor) &&
  74.           ivIndex == ((Self const&)cursor).ivIndex);
  75. }
  76.  
  77. // -----------------------
  78. // ISequenceAsDilTableImpl
  79. // -----------------------
  80.  
  81. // public members
  82.  
  83.  
  84. // -----------------------
  85. // IASequenceAsDilTableOps
  86. // -----------------------
  87.  
  88. // public members
  89.  
  90. inline
  91. IASequenceAsDilTableOps::
  92. ~IASequenceAsDilTableOps ()
  93. {
  94. }
  95.  
  96. // protected members
  97.  
  98. inline
  99. IASequenceAsDilTableOps::
  100. IASequenceAsDilTableOps (IBoolean containsDTSObjects)
  101. : ivContainsDTSObjects (containsDTSObjects)
  102. {
  103. }
  104.