LibOFX

build/libofx-0.10.0/lib/ofx_preproc.hh
Go to the documentation of this file.
1 /***************************************************************************
2 ofx_preproc.h
3 -------------------
4 copyright : (C) 2002 by Benoit Gr�goire
5 email : benoitg@coeus.ca
6 ***************************************************************************/
12 /***************************************************************************
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 ***************************************************************************/
20 #ifndef OFX_PREPROC_H
21 #define OFX_PREPROC_H
22
23 #include "context.hh"
24
25 #define OPENSPDCL_FILENAME "opensp.dcl"
26 #define OFX160DTD_FILENAME "ofx160.dtd"
27 #define OFCDTD_FILENAME "ofc.dtd"
28
30 string sanitize_proprietary_tags(string input_string);
32 std::string find_dtd(LibofxContextPtr ctx, const std::string& dtd_filename);
39 int ofx_proc_file(LibofxContextPtr libofx_context, const char *);
40
41 #endif
ofx_proc_file
int ofx_proc_file(LibofxContextPtr libofx_context, const char *)
ofx_proc_file process an ofx or ofc file.
Definition: build/libofx-0.10.0/lib/ofx_preproc.cpp:81
sanitize_proprietary_tags
string sanitize_proprietary_tags(string input_string)
Removes proprietary tags and comments.
Definition: build/libofx-0.10.0/lib/ofx_preproc.cpp:479
find_dtd
std::string find_dtd(LibofxContextPtr ctx, const std::string &dtd_filename)
Find the appropriate DTD for the file version.
Definition: build/libofx-0.10.0/lib/ofx_preproc.cpp:552