OWLNext
7.0
Borland's Object Windows Library for the modern age
Toggle main menu visibility
Loading...
Searching...
No Matches
datep.cpp
Go to the documentation of this file.
1
//----------------------------------------------------------------------------
2
// Borland Class Library
3
// Copyright (c) 1993, 1996 by Borland International, All Rights Reserved
4
//
5
/// \file
6
/// TDate class persistant streaming implementation
7
//----------------------------------------------------------------------------
8
#include <
owl/pch.h
>
9
#include <
owl/date.h
>
10
#include <
owl/objstrm.h
>
11
12
namespace
owl
{
13
14
_OWLCFUNC
(
opstream
&)
operator <<
(
opstream
& os,
const
TDate
& d )
15
{
16
return
os << d.Julnum;
17
}
18
19
_OWLCFUNC
(
ipstream
&)
operator >>
(
ipstream
& is,
TDate
& d )
20
{
21
return
is >> d.Julnum;
22
}
23
24
}
// OWL namespace
25
owl::TDate::TDate
TDate()
Construct a TDate with the current date.
Definition
date.cpp:68
owl::ipstream
ipstream, a specialized input stream derivative of pstream, is the base class for reading (extracting...
Definition
objstrm.h:391
owl::opstream
Base class for writing streamable objects.
Definition
objstrm.h:480
date.h
pch.h
owl
Object Windows Library (OWLNext Core).
Definition
animctrl.h:22
owl::operator<<
owl::opstream & operator<<(owl::opstream &os, const TColor &c)
Insert the color value into a persistent output stream.
Definition
color.h:498
owl::operator>>
owl::ipstream & operator>>(owl::ipstream &is, TColor &c)
Extract the color value from a persistent input stream.
Definition
color.h:489
objstrm.h
_OWLCFUNC
#define _OWLCFUNC(p)
Definition
defs.h:342
source
owlcore
datep.cpp
Generated by
1.18.0