Yurttas/PL/OOL/Cplusplus/F/05/01/01/03/D I A.h

 1/*
 2   Copyright(C) 1998
 3   All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4
 5   Permission to use, copy, modify, and distribute this
 6   software and its documentation for EDUCATIONAL purposes
 7   and without fee is hereby granted provided that this
 8   copyright notice appears in all copies.
 9
10   date   : September 1, 1998.
11   authorĀ : Salih Yurttas.
12
13   D_I_A.h
14*/
15
16
17#ifndef D_I_A_H
18#define D_I_A_H
19
20#include <iostream>
21
22using namespace std;
23
24class D_I_A {
25public:
26  D_I_A(const double v1=0,
27        const int v2=0);
28
29  D_I_A(const D_I_A&);
30
31  D_I_A& operator=(const D_I_A&);
32
33  double get_a0() const;
34  int get_a1() const;
35
36  void set_a0(const double);
37  void set_a1(const int);
38
39  friend ostream& operator<<(ostream&,
40                             const D_I_A&);
41
42private:
43  double a0;
44  int a1;
45};
46#endif