home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dho.zip / DHO / SRC / SOURCE.ZIP / node.cc < prev    next >
C/C++ Source or Header  |  1995-08-27  |  1KB  |  58 lines

  1. /****************************************/
  2. /*    Developer Helper Object Set       */
  3. /*  (C) 1994-95 Thomas E. Bednarz, Jr.  */
  4. /*     All rights reserved              */
  5. /***************************************/
  6.  
  7. /* $Id: node.cc 1.3 1995/08/13 03:21:12 teb Exp $ */
  8.  
  9.  
  10. #include"node.h"
  11. #include<STDLIB.H>
  12. #include<iostream.h>
  13.  
  14. //-------------------------------------------------------------------
  15. //-------------------------------------------------------------------
  16. //  *TNode
  17. //-------------------------------------------------------------------
  18. //  setNext
  19. void TNode::setNext(TNode *next)
  20. {
  21.    fNext=next;   
  22. }
  23.  
  24. //-------------------------------------------------------------------
  25. //  TNode
  26. TNode::TNode(TObject *obj)
  27. {
  28.    fNext = NULL;
  29.    fObject = obj;
  30. }
  31.  
  32.  
  33. //-------------------------------------------------------------------
  34. //  getNext
  35. TNode *TNode::getNext(void)
  36. {
  37.    return fNext;
  38. }
  39.  
  40.  
  41. //-------------------------------------------------------------------
  42. //  getObject
  43. TObject *TNode::getObject(void)
  44. {
  45.    return fObject;
  46. }
  47.  
  48.  
  49. //-------------------------------------------------------------------
  50. //  getClassName
  51. const char *TNode::getClassName()
  52. {
  53.    return "TNode";
  54. }
  55.  
  56.  
  57.  
  58.