Yurttas/PL/SL/python/F/08/00/01/01/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   : January 1, 1998.
11   authorĀ : Salih Yurttas.
12
13   A.h
14*/
15
16
17#include <iostream>
18
19using namespace std;
20
21class A {
22public:
23  A(const int a=0,
24    const int b=2);
25
26  A(const A&);
27
28  A& operator=(const A&);
29
30  int get_i1() const;
31
32  int get_i2() const;
33
34  void set_i1(const int);
35
36  void set_i2(const int);
37
38  void set_i1_i2(const int);
39
40  void set_i1_i2(const int,
41                 const int);
42
43  friend ostream& operator<<(ostream&,
44                             const A&);
45
46private:
47  int i1;
48  int i2;
49};