summaryrefslogtreecommitdiff
path: root/name.h
blob: 0293e2b2e3a4ddab917484a7694b59481e1fd11d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// class name declaration.

#ifndef NAME_H
#define NAME_H

#include "incl.h"

using namespace std;

class name
{
protected:
  // private members:
  string s_name; // object's name.

public:
  virtual string get_name  ( ) const;
  virtual void   set_name  ( string s_name );


  // public methods:
  explicit name( )
  { }
  ;      	      // a standard constructor.
  explicit name( string s_name );      // a standard constructor.
  ~name( );

};

#endif