00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #ifndef _BU_H_
00010 #define _BU_H_
00011 
00012 #include <AGAPI.h>
00013 #include "agfio.h"
00014 #include "Paired.h"
00015 
00016 
00018 
00024 class DllExport BU: public agfio
00025 {
00026 
00027 private:
00028 
00029   enum { LBA=0, LBL, WRD, BRK, POS, TON, MSC };
00030   bool exist[MSC+1];  
00031   bool lbl_option;    
00032   
00033   
00034   void
00035   check_files(const string& prefix);
00036 
00037   
00038   void
00039   build_wbp(Paired& wrd, Paired& brk, Paired& pos, const AGId& agId);
00040 
00041   virtual bool
00042   is_id_required()
00043   { return true; }
00044 
00045   virtual AGIds
00046   load();
00047 
00048 
00049 public:
00050 
00051   BU();
00052 
00053 
00054 };
00055 
00056 #endif