Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TF.h

Go to the documentation of this file.
00001 // TF.h: Table format loader class
00002 // Haejoong Lee, Xiaoyi Ma, Steven Bird
00003 // Copyright (C) 2001 Linguistic Data Consortium, U Penn.
00004 // Web: http://www.ldc.upenn.edu/; Email: ldc@ldc.upenn.edu
00005 // For license information, see the file `LICENSE' included
00006 // with the distribution.
00007 
00008 
00009 #ifndef _TF_H_
00010 #define _TF_H_
00011 
00012 #include <string>
00013 #include <vector>
00014 #include <AGAPI.h>
00015 #include "agfio.h"
00016 #include "Record.h"
00017 
00019 class DllExport TF : public agfio
00020 {
00021 private:
00022 
00023   vector<string> header;
00024   string         separator;
00025   string         smplrate;
00026   string         annotation_type;
00027 
00028   void
00029   set_header(const string& header, const string& separator);
00030 
00031   virtual bool
00032   is_id_required()
00033   { return true; }
00034 
00035   virtual AGIds
00036   load();
00037 
00038 
00039 public:
00040 
00042 
00053   virtual void
00054   store(const string&       filename,
00055         const AGIds&        agIds = "",
00056         map<string,string>* options = NULL);
00057 
00058 };
00059 
00060 #endif

Generated at Wed Jul 3 14:54:04 2002 for Annotation Graph API by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001