home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / CLASSSRC.PAK / TIMEP.CPP < prev    next >
C/C++ Source or Header  |  1995-08-29  |  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.