1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>XED2: XED2 User Guide - Thu May 15 03:15:09 2008 </title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css">
7 <!-- Generated by Doxygen 1.4.6 -->
10 <li><a href="main.html"><span>Main Page</span></a></li>
11 <li><a href="modules.html"><span>Modules</span></a></li>
12 <li><a href="classes.html"><span>Data Structures</span></a></li>
13 <li><a href="files.html"><span>Files</span></a></li>
15 <form action="search.php" method="get">
16 <table cellspacing="0" cellpadding="0" border="0">
18 <td><label> <u>S</u>earch for </label></td>
19 <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
25 <h1>Examples of using XED</h1>The source code for the examples is in the "examples" subdirectory.<p>
26 There is a makefile that will build all the examples on linux or windows.<p>
27 There are several examples:<p>
28 C++ examples:<ol type=1>
29 <li>xed.cpp: a decoder, encoder, image file reader, etc.</li><li>xed-ex1.cpp: a simple decoder that prints the decode data structure</li><li>xed-ex2.cpp: a simple decoder with different disassmebly output formats</li><li>xed-ex3.cpp: an encoder (subset of the xed command line tool). Documented with "xed" on the <a class="el" href="group__CMDLINE.html">XED command interface</a> page.</li></ol>
31 C examples:<ol type=1>
32 <li>xed-ex4.c: a C version of the decoder example (xed-ex2).</li></ol>
34 The examples are described in the following subsections:<ul>
35 <li><a class="el" href="group__SMALLEXAMPLES.html">Small Examples</a> Small Examples</li><li><a class="el" href="group__CMDLINE.html">Command line</a> XED's command line testing tool</li><li><a class="el" href="group__CMDLINE.html#ENCODE_EXAMPLE">Encode Example</a> An example of using the encoder</li></ul>
37 =======================================================================
39 <table border="0" cellpadding="0" cellspacing="0">
42 <hr size="1"><address style="align: right;"><small>Generated on Thu May 15 03:15:09 2008 for XED2 by
43 <a href="http://www.doxygen.org/index.html">
44 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>