OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
timep.cpp
Go to the documentation of this file.
1//----------------------------------------------------------------------------
2// ObjectWindows
3// Copyright (c) 1993, 1996 by Borland International, All Rights Reserved
4//
5/// \file
6/// TTime class persistent streaming implementation
7//----------------------------------------------------------------------------
8#include <owl/pch.h>
9
10#include <owl/time.h>
11#include <owl/objstrm.h>
12#include <owl/wsyscls.h>
14
15namespace owl {
16
18 const TTime & d )
19{
20 return os << d.Sec;
21}
22
24 TTime & d )
25{
26 return is >> d.Sec;
27}
28
29//
31 s << d.dwLowDateTime << d.dwHighDateTime;
32 return s;
33}
34
35//
37{
38 s >> d.dwLowDateTime >> d.dwHighDateTime;
39 return s;
40}
41
42} // OWL namespace
43/* ========================================================================== */
44
45
TFileTime is a class derived from the structure FILETIME.
Definition wsyscls.h:362
The TTime class encapsulates time functions and characteristics.
Definition time.h:38
ipstream, a specialized input stream derivative of pstream, is the base class for reading (extracting...
Definition objstrm.h:391
Base class for writing streamable objects.
Definition objstrm.h:480
Object Windows Library (OWLNext Core)
Definition animctrl.h:22
owl::opstream & operator<<(owl::opstream &os, const TColor &c)
Insert the color value into a persistent output stream.
Definition color.h:498
owl::ipstream & operator>>(owl::ipstream &is, TColor &c)
Extract the color value from a persistent input stream.
Definition color.h:489
#define _OWLCFUNC(p)
Definition defs.h:342
Classes for window system structure and type encapsulation.