00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef __BAP_BASE__
00028 #define __BAP_BASE__
00029
00030
00031 #include "def.h"
00032
00033
00034 class BAPBase
00035 {
00036 public:
00037 BAPBase();
00038 BAPBase(long aID, string aName = "Nameless");
00039 ~BAPBase();
00040
00041 long ID() const;
00042 string Name() const;
00043 string Name(string aName);
00044 virtual void Print(int aWidth = 1, int aDetail = 0) const = 0;
00045
00046 private:
00047 const long mID;
00048 string mName;
00049 };
00050
00051
00052 #endif