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

AIF.h

Go to the documentation of this file.
00001 // AIF.h: AIF loader class definition
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 _AIF_H_
00010 #define _AIF_H_
00011 
00012 #include <AGAPI.h>
00013 #include <util/XMLString.hpp>
00014 #include <util/PlatformUtils.hpp>
00015 #include <parsers/SAXParser.hpp>
00016 #include "SAX_AIFHandlers.h"
00017 #include "agfio.h"
00018 
00019 
00021 class DllExport AIF : public agfio
00022 {
00023 
00024 private:
00025 
00026   virtual bool
00027   is_id_required()
00028   { return false; }
00029 
00030   virtual AGIds
00031   load();
00032 
00033   SAXParser* parser;
00034   SAX_AIFHandlers* handler;
00035 
00036 public:
00037 
00038   AIF();
00039   ~AIF();
00040 
00041 };
00042 
00043 
00045 class StrX
00046 {
00047 private:
00048 
00049   char* fLocalForm;
00050 
00051 public:
00052   
00053   StrX(const XMLCh* const toTranscode);
00054 
00055   ~StrX();
00056 
00058   const char*
00059   localForm() const;
00060 };
00061 
00062 #endif

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