Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
58
trunk/paradiseo-eo/doc/html/value_param_8h-source.html
Normal file
58
trunk/paradiseo-eo/doc/html/value_param_8h-source.html
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>EO: valueParam.h Source File</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3.9.1 -->
|
||||
<div class="qindex"> <form class="search" action="search.php" method="get">
|
||||
<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
||||
<div class="nav">
|
||||
<a class="el" href="dir_000000.html">src</a> / <a class="el" href="dir_000001.html">pyeo</a></div>
|
||||
<h1>valueParam.h</h1><div class="fragment"><pre class="fragment">00001 <span class="preprocessor">#ifndef VALUEPARAM_H</span>
|
||||
00002 <span class="preprocessor"></span><span class="preprocessor">#define VALUEPARAM_H</span>
|
||||
00003 <span class="preprocessor"></span>
|
||||
00004 <span class="preprocessor">#include <string></span>
|
||||
00005 <span class="preprocessor">#include <boost/python.hpp></span>
|
||||
00006
|
||||
00007 <span class="keyword">class </span>ValueParam : <span class="keyword">public</span> <a class="code" href="classeo_param.html">eoParam</a> <span class="comment">// ValueParam containing python object</span>
|
||||
00008 {
|
||||
00009 boost::python::object obj;
|
||||
00010
|
||||
00011 <span class="keyword">public</span>:
|
||||
00012
|
||||
00013 ValueParam() : <a class="code" href="classeo_param.html">eoParam</a>(), obj() {}
|
||||
00014
|
||||
00015 ValueParam(boost::python::object o,
|
||||
00016 std::string longName,
|
||||
00017 std::string d = <span class="stringliteral">"No Description"</span>,
|
||||
00018 <span class="keywordtype">char</span> s = 0,
|
||||
00019 <span class="keywordtype">bool</span> r = <span class="keyword">false</span>) : <a class="code" href="classeo_param.html">eoParam</a>(longName, <span class="stringliteral">""</span>, d, s, r)
|
||||
00020 {
|
||||
00021 std::cerr << <span class="stringliteral">"HI"</span> << std::endl;
|
||||
00022 obj = o;
|
||||
00023 <a class="code" href="classeo_param.html#a8">eoParam::defValue</a>(<a class="code" href="classeo_param.html#a3">getValue</a>());
|
||||
00024 }
|
||||
00025
|
||||
00026
|
||||
00027 std::string <a class="code" href="classeo_param.html#a3">getValue</a>()<span class="keyword"> const</span>
|
||||
00028 <span class="keyword"> </span>{
|
||||
00029 boost::python::str s = boost::python::str(obj);
|
||||
00030 <span class="keywordflow">return</span> std::string(boost::python::extract<const char*>(s));
|
||||
00031 }
|
||||
00032
|
||||
00033 <span class="keywordtype">void</span> <a class="code" href="classeo_param.html#a4">setValue</a>(<span class="keyword">const</span> std::string& v)
|
||||
00034 {
|
||||
00035 std::cerr << <span class="stringliteral">"not implemented yet"</span> << std::endl;
|
||||
00036 }
|
||||
00037
|
||||
00038 boost::python::object getObj()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> obj;}
|
||||
00039 <span class="keywordtype">void</span> setObj(boost::python::object o) { obj = o; }
|
||||
00040
|
||||
00041 };
|
||||
00042
|
||||
00043 <span class="preprocessor">#endif</span>
|
||||
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:44 2006 for EO by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue