System documentation of the GNU Image-Finding Tool

CXMLElementBuilder.h
1 // -*- mode: c++ -*-
2 #ifndef _CXMLELEMENTBUILDER
3 #define _CXMLELEMENTBUILDER
4 #include "libMRML/include/uses-declarations.h"
5 
6 /*
7 
8  GIFT, a flexible content based image retrieval system.
9  Copyright (C) 1998, 1999, 2000, 2001, 2002, CUI University of Geneva
10 
11  Copyright (C) 2003, 2004 Bayreuth University
12  2005 Bamberg University
13  This program is free software; you can redistribute it and/or modify
14  it under the terms of the GNU General Public License as published by
15  the Free Software Foundation; either version 2 of the License, or
16  (at your option) any later version.
17 
18  This program is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  GNU General Public License for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with this program; if not, write to the Free Software
25  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 
27 */
28 #include <string>
29 #include <expat.h>
30 #include "libMRML/include/CXMLElement.h"
31 #include "libMRML/include/CSelfDestroyPointer.h"
32 
33 // #define XEB_PRINTOUT // uncomment this to get debugging printouts
34 
40  public:
44  static CXMLElement* stringToElement(const string& inString);
45 };
46 
47 #endif
static CXMLElement * stringToElement(const string &inString)
this converts a string into an CXMLElement
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
This class builds an XML element from a string.
Definition: CXMLElementBuilder.h:39
CXMLElementBuilder()
construction

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen