3
3
<title>LibOFX: file_preproc.cpp File Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.7 -->
6
<!-- Generated by Doxygen 1.3.9.1 -->
7
7
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
9
<a class="el" href="dir_000002.html">lib</a></div>
8
10
<h1>file_preproc.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
9
11
File type detection, etc.
17
<a href="file__preproc_8cpp-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
19
<a href="file__preproc_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
19
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
20
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a1" doxytag="file_preproc.cpp::libofx_get_file_format_description" ></a>
21
const char * </td><td class="memItemRight" valign=bottom><b>libofx_get_file_format_description</b> (const struct LibofxFileFormatInfo format_list[], enum <a class="el" href="libofx-0_87_80_2inc_2libofx_8h.html#a90">LibofxFileFormat</a> file_format)</td></tr>
23
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a2" doxytag="file_preproc.cpp::libofx_get_file_format_from_str" ></a>
24
enum <a class="el" href="libofx-0_87_80_2inc_2libofx_8h.html#a90">LibofxFileFormat</a> </td><td class="memItemRight" valign=bottom><b>libofx_get_file_format_from_str</b> (const struct LibofxFileFormatInfo format_list[], const char *file_type_string)</td></tr>
26
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a3" doxytag="file_preproc.cpp::libofx_proc_file" ></a>
27
CFCT int </td><td class="memItemRight" valign=bottom><b>libofx_proc_file</b> (LibofxContextPtr p_libofx_context, const char *p_filename, <a class="el" href="libofx-0_87_80_2inc_2libofx_8h.html#a90">LibofxFileFormat</a> p_file_type)</td></tr>
29
<tr><td class="memItemLeft" nowrap align=right valign=top>enum <a class="el" href="libofx-0_87_80_2inc_2libofx_8h.html#a90">LibofxFileFormat</a> </td><td class="memItemRight" valign=bottom><a class="el" href="file__preproc_8cpp.html#a4">libofx_detect_file_type</a> (const char *p_filename)</td></tr>
31
<tr><td class="mdescLeft"> </td><td class="mdescRight">libofx_detect_file_type tries to analyze a file to determine it's format. <a href="#a4"></a><br><br></td></tr>
32
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
33
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a0" doxytag="file_preproc.cpp::READ_BUFFER_SIZE" ></a>
34
const unsigned int </td><td class="memItemRight" valign=bottom><b>READ_BUFFER_SIZE</b> = 1024</td></tr>
21
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
22
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="file_preproc.cpp::libofx_get_file_format_description"></a>
23
const char * </td><td class="memItemRight" valign="bottom"><b>libofx_get_file_format_description</b> (const struct LibofxFileFormatInfo format_list[], enum <a class="el" href="libofx-0_88_80_2inc_2libofx_8h.html#a101">LibofxFileFormat</a> file_format)</td></tr>
25
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="file_preproc.cpp::libofx_get_file_format_from_str"></a>
26
enum <a class="el" href="libofx-0_88_80_2inc_2libofx_8h.html#a101">LibofxFileFormat</a> </td><td class="memItemRight" valign="bottom"><b>libofx_get_file_format_from_str</b> (const struct LibofxFileFormatInfo format_list[], const char *file_type_string)</td></tr>
28
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="file_preproc.cpp::libofx_proc_file"></a>
29
CFCT int </td><td class="memItemRight" valign="bottom"><b>libofx_proc_file</b> (LibofxContextPtr p_libofx_context, const char *p_filename, <a class="el" href="libofx-0_88_80_2inc_2libofx_8h.html#a101">LibofxFileFormat</a> p_file_type)</td></tr>
31
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum <a class="el" href="libofx-0_88_80_2inc_2libofx_8h.html#a101">LibofxFileFormat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="file__preproc_8cpp.html#a4">libofx_detect_file_type</a> (const char *p_filename)</td></tr>
33
<tr><td class="mdescLeft"> </td><td class="mdescRight">libofx_detect_file_type tries to analyze a file to determine it's format. <a href="#a4"></a><br></td></tr>
34
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
35
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="file_preproc.cpp::READ_BUFFER_SIZE"></a>
36
const unsigned int </td><td class="memItemRight" valign="bottom"><b>READ_BUFFER_SIZE</b> = 1024</td></tr>
37
39
<hr><h2>Function Documentation</h2>
38
<a class="anchor" name="a4" doxytag="file_preproc.cpp::libofx_detect_file_type" ></a><p>
40
<a class="anchor" name="a4" doxytag="file_preproc.cpp::libofx_detect_file_type"></a><p>
39
41
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
42
44
<table cellpadding="0" cellspacing="0" border="0">
44
<td class="md" nowrap valign="top"> enum <a class="el" href="libofx-0_87_80_2inc_2libofx_8h.html#a90">LibofxFileFormat</a> libofx_detect_file_type </td>
46
<td class="md" nowrap valign="top">enum <a class="el" href="libofx-0_88_80_2inc_2libofx_8h.html#a101">LibofxFileFormat</a> libofx_detect_file_type </td>
45
47
<td class="md" valign="top">( </td>
46
48
<td class="md" nowrap valign="top">const char * </td>
47
49
<td class="mdname1" valign="top" nowrap> <em>p_filename</em> </td>