summaryrefslogtreecommitdiff
path: root/name.h
blob: b8953892094989debc23e1eebdaf8c224dab5b12 (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
// 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