home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / bc45 / classsrc.pak / TIMEP.CPP < prev    next >
C/C++ Source or Header  |  1997-07-23  |  1KB  |  36 lines

  1. /*------------------------------------------------------------------------*/
  2. /*                                                                        */
  3. /*  TIMEP.CPP                                                             */
  4. /*                                                                        */
  5. /*  Copyright (c) 1993, 1994 Borland International                        */
  6. /*  All Rights Reserved                                                   */
  7. /*                                                                        */
  8. /*------------------------------------------------------------------------*/
  9.  
  10. #if !defined( __STRSTREA_H )
  11. #include <strstrea.h>
  12. #endif
  13.  
  14. #if !defined( CLASSLIB_TIME_H )
  15. #include <classlib/time.h>
  16. #endif
  17.  
  18. #if !defined( CLASSLIB_OBJSTRM_H )
  19. #include <classlib/objstrm.h>
  20. #endif
  21.  
  22. opstream _BIDSFAR & _BIDSFUNC operator << ( opstream _BIDSFAR & os,
  23.                                             const TTime _BIDSFAR & d )
  24. {
  25.     return os << d.Sec;
  26. }
  27.  
  28. ipstream _BIDSFAR & _BIDSFUNC operator >> ( ipstream _BIDSFAR & is,
  29.                                             TTime _BIDSFAR & d )
  30. {
  31.     return is >> d.Sec;
  32. }
  33.  
  34.  
  35.  
  36.