~ubuntu-branches/ubuntu/natty/libofx/natty

« back to all changes in this revision

Viewing changes to doc/html/ofx__container__generic_8cpp-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2005-11-29 00:12:00 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051129001200-aplj8zbj80f68xby
Tags: 1:0.8.0-9
Generate autotools using Debian libtool (rerun libtoolize --copy
--force, aclocal-1.9, autoconf). (Closes: #341190)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<title>LibOFX: ofx_container_generic.cpp Source File</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
</head><body>
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&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
8
 
<h1>ofx_container_generic.cpp</h1><a href="ofx__container__generic_8cpp.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/***************************************************************************</span>
 
8
<div class="nav">
 
9
<a class="el" href="dir_000002.html">lib</a></div>
 
10
<h1>ofx_container_generic.cpp</h1><a href="ofx__container__generic_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/***************************************************************************</span>
9
11
00002 <span class="comment">         ofx_container_generic.cpp </span>
10
12
00003 <span class="comment">                             -------------------</span>
11
13
00004 <span class="comment">    copyright            : (C) 2002 by Benoit Gr�goire</span>
27
29
00023 <span class="preprocessor">#include &lt;string&gt;</span>
28
30
00024 <span class="preprocessor">#include "ParserEventGeneratorKit.h"</span>
29
31
00025 <span class="preprocessor">#include "<a class="code" href="messages_8hh.html">messages.hh</a>"</span>
30
 
00026 <span class="preprocessor">#include "<a class="code" href="libofx-0_87_80_2inc_2libofx_8h.html">libofx.h</a>"</span>
 
32
00026 <span class="preprocessor">#include "<a class="code" href="libofx-0_88_80_2inc_2libofx_8h.html">libofx.h</a>"</span>
31
33
00027 <span class="preprocessor">#include "<a class="code" href="ofx__containers_8hh.html">ofx_containers.hh</a>"</span>
32
34
00028 
33
35
00029 <span class="keyword">extern</span> <a class="code" href="classOfxMainContainer.html">OfxMainContainer</a> * MainContainer;
44
46
00040   libofx_context = p_libofx_context;
45
47
00041   parentcontainer = para_parentcontainer;
46
48
00042   <span class="keywordflow">if</span>(parentcontainer!=NULL&amp;&amp;parentcontainer-&gt;<a class="code" href="classOfxGenericContainer.html#o0">type</a>==<span class="stringliteral">"DUMMY"</span>){
47
 
00043     <a class="code" href="fx-0_87_80_2lib_2messages_8hh.html#a11">message_out</a>(DEBUG,<span class="stringliteral">"OfxGenericContainer(): The parent is a DummyContainer!"</span>);
 
49
00043     <a class="code" href="fx-0_88_80_2lib_2messages_8hh.html#a11">message_out</a>(DEBUG,<span class="stringliteral">"OfxGenericContainer(): The parent is a DummyContainer!"</span>);
48
50
00044   }
49
51
00045 }
50
52
00046 OfxGenericContainer::OfxGenericContainer(LibofxContext *p_libofx_context, <a class="code" href="classOfxGenericContainer.html">OfxGenericContainer</a> *para_parentcontainer, string para_tag_identifier)
53
55
00049   parentcontainer = para_parentcontainer;
54
56
00050   <a class="code" href="classOfxGenericContainer.html#o1">tag_identifier</a> = para_tag_identifier;
55
57
00051   <span class="keywordflow">if</span>(parentcontainer!=NULL&amp;&amp;parentcontainer-&gt;<a class="code" href="classOfxGenericContainer.html#o0">type</a>==<span class="stringliteral">"DUMMY"</span>){
56
 
00052     <a class="code" href="fx-0_87_80_2lib_2messages_8hh.html#a11">message_out</a>(DEBUG,<span class="stringliteral">"OfxGenericContainer(): The parent for this "</span>+tag_identifier+<span class="stringliteral">" is a DummyContainer!"</span>);
 
58
00052     <a class="code" href="fx-0_88_80_2lib_2messages_8hh.html#a11">message_out</a>(DEBUG,<span class="stringliteral">"OfxGenericContainer(): The parent for this "</span>+tag_identifier+<span class="stringliteral">" is a DummyContainer!"</span>);
57
59
00053   }
58
60
00054 }
59
61
<a name="l00055"></a><a class="code" href="classOfxGenericContainer.html#a4">00055</a> <span class="keywordtype">void</span> <a class="code" href="classOfxGenericContainer.html#a4">OfxGenericContainer::add_attribute</a>(<span class="keyword">const</span> string identifier, <span class="keyword">const</span> string value)
60
62
00056 {
61
63
00057   <span class="comment">/*If an attribute has made it all the way up to the Generic Container's add_attribute, </span>
62
64
00058 <span class="comment">    we don't know what to do with it! */</span>
63
 
00059     <a class="code" href="fx-0_87_80_2lib_2messages_8hh.html#a11">message_out</a>(<a class="code" href="messages_8hh.html#a12a9">ERROR</a>, <span class="stringliteral">"WRITEME: "</span>+identifier+<span class="stringliteral">" ("</span>+value+<span class="stringliteral">") is not supported by the "</span>+<a class="code" href="classOfxGenericContainer.html#o0">type</a>+<span class="stringliteral">" container"</span>);
 
65
00059     <a class="code" href="fx-0_88_80_2lib_2messages_8hh.html#a11">message_out</a>(<a class="code" href="messages_8hh.html#a12a9">ERROR</a>, <span class="stringliteral">"WRITEME: "</span>+identifier+<span class="stringliteral">" ("</span>+value+<span class="stringliteral">") is not supported by the "</span>+<a class="code" href="classOfxGenericContainer.html#o0">type</a>+<span class="stringliteral">" container"</span>);
64
66
00060 }
65
67
<a name="l00061"></a><a class="code" href="classOfxGenericContainer.html#a7">00061</a> <a class="code" href="classOfxGenericContainer.html">OfxGenericContainer</a>* <a class="code" href="classOfxGenericContainer.html#a7">OfxGenericContainer::getparent</a>()
66
68
00062 {
85
87
00081     }
86
88
00082 }
87
89
00083   
88
 
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Fri Oct 8 20:34:47 2004 for LibOFX by
 
90
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Jul 31 15:38:34 2005 for LibOFX by&nbsp;
89
91
<a href="http://www.doxygen.org/index.html">
90
 
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
 
92
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
91
93
</body>
92
94
</html>