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 class BAPBase
00034 {
00035 public:
00036 BAPBase();
00037 BAPBase(long aID, string aName = "Nameless");
00038 ~BAPBase();
00039
00040 long ID() const;
00041 string Name() const;
00042 string Name(string aName);
00043 virtual void Print(int aWidth = 1, int aDetail = 0) const = 0;
00044
00045 private:
00046 const long mID;
00047 string mName;
00048 };
00049
00050
00051 #endif