00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _SWBFILE_H_
00010 #define _SWBFILE_H_
00011
00012 #include <string>
00013 #include <fstream>
00014 #include "Record.h"
00015 #include "RE.h"
00016
00018 class SWBfile : public Record
00019 {
00020 private:
00021 bool turnover;
00022 string speaker;
00023 string uttn;
00024 string start;
00025 string dur;
00026 string label;
00027 RE *Sre;
00028
00029 virtual void
00030 read_entry();
00031
00032 void
00033 init_re();
00034
00035 public:
00036 SWBfile();
00037 SWBfile(const string &filename);
00038 ~SWBfile();
00039
00041 bool read_record();
00043 string get_time0();
00045 string get_time();
00047 string get_label();
00049 string get_spkr();
00051 string get_uttn();
00053 string get_next_time();
00060 bool turn_over();
00061 };
00062
00063 #endif