blob: 4055733652c54ac32f550fb4a51918b034cafd2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SystemMap.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.9.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
<hr><h1>SystemMap.hpp</h1><div class="fragment"><pre>00001 <font class="comment">/*</font>
00002 <font class="comment"> * SystemMap.hpp:</font>
00003 <font class="comment"> * representation if a system map file (and alike).</font>
00004 <font class="comment"> * written by palmers / teso</font>
00005 <font class="comment"> */</font>
00006 <font class="preprocessor">#ifndef SYSTEM_MAP_C</font>
00007 <font class="preprocessor"></font><font class="preprocessor">#define SYSTEM_MAP_C</font>
00008 <font class="preprocessor"></font>
00009 <font class="preprocessor">#include <map></font>
00010 <font class="preprocessor">#include <string></font>
00011 <font class="preprocessor">#include <fstream></font>
00012
<a name="l00016"></a><a class="code" href="classSystemMap.html">00016</a> <font class="keyword">class </font><a class="code" href="classSystemMap.html">SystemMap</a>
00017 {
00018 <font class="keyword">private</font>:
00019 <font class="keyword">typedef</font> map<string, unsigned int> blamap;
00020 <font class="keyword">typedef</font> blamap::value_type bla_val;
00021
00022 blamap add_map;
00023
00024 <font class="keyword">public</font>:
00028 <a class="code" href="classSystemMap.html#a1">SystemMap</a> (string file);
00029
00033 <a class="code" href="classSystemMap.html#a1">SystemMap</a> ();
00034
00038 <a class="code" href="classSystemMap.html#a2">~SystemMap</a> ();
00039
00044 <font class="keywordtype">bool</font> <a class="code" href="classSystemMap.html#a3">contains</a> (string);
00045
00052 <font class="keywordtype">void</font> <a class="code" href="classSystemMap.html#a4">add</a> (string name, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> address);
00053
00059 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> <a class="code" href="classSystemMap.html#a5">operator[] </a>(string name);
00060 };
00061 <font class="preprocessor">#endif </font><font class="comment">/* SYSTEM_MAP_C */</font>
</pre></div><hr><address><small>Generated at Tue Aug 14 18:04:51 2001 for Kermit by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|