| [353] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 
|---|
|  | 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> | 
|---|
|  | 3 | <title>mixpp: bdm::Particular_UI< T > Class Template Reference</title> | 
|---|
|  | 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> | 
|---|
|  | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> | 
|---|
|  | 6 | </head><body> | 
|---|
|  | 7 | <!-- Generated by Doxygen 1.5.8 --> | 
|---|
|  | 8 | <script type="text/javascript"> | 
|---|
|  | 9 | <!-- | 
|---|
|  | 10 | function changeDisplayState (e){ | 
|---|
|  | 11 | var num=this.id.replace(/[^[0-9]/g,''); | 
|---|
|  | 12 | var button=this.firstChild; | 
|---|
|  | 13 | var sectionDiv=document.getElementById('dynsection'+num); | 
|---|
|  | 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ | 
|---|
|  | 15 | sectionDiv.style.display='block'; | 
|---|
|  | 16 | button.src='open.gif'; | 
|---|
|  | 17 | }else{ | 
|---|
|  | 18 | sectionDiv.style.display='none'; | 
|---|
|  | 19 | button.src='closed.gif'; | 
|---|
|  | 20 | } | 
|---|
|  | 21 | } | 
|---|
|  | 22 | function initDynSections(){ | 
|---|
|  | 23 | var divs=document.getElementsByTagName('div'); | 
|---|
|  | 24 | var sectionCounter=1; | 
|---|
|  | 25 | for(var i=0;i<divs.length-1;i++){ | 
|---|
|  | 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ | 
|---|
|  | 27 | var header=divs[i]; | 
|---|
|  | 28 | var section=divs[i+1]; | 
|---|
|  | 29 | var button=header.firstChild; | 
|---|
|  | 30 | if (button!='IMG'){ | 
|---|
|  | 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); | 
|---|
|  | 32 | button=document.createElement('img'); | 
|---|
|  | 33 | divs[i].insertBefore(button,divs[i].firstChild); | 
|---|
|  | 34 | } | 
|---|
|  | 35 | header.style.cursor='pointer'; | 
|---|
|  | 36 | header.onclick=changeDisplayState; | 
|---|
|  | 37 | header.id='dynheader'+sectionCounter; | 
|---|
|  | 38 | button.src='closed.gif'; | 
|---|
|  | 39 | section.id='dynsection'+sectionCounter; | 
|---|
|  | 40 | section.style.display='none'; | 
|---|
|  | 41 | section.style.marginLeft='14px'; | 
|---|
|  | 42 | sectionCounter++; | 
|---|
|  | 43 | } | 
|---|
|  | 44 | } | 
|---|
|  | 45 | } | 
|---|
|  | 46 | window.onload = initDynSections; | 
|---|
|  | 47 | --> | 
|---|
|  | 48 | </script> | 
|---|
|  | 49 | <div class="navigation" id="top"> | 
|---|
|  | 50 | <div class="tabs"> | 
|---|
|  | 51 | <ul> | 
|---|
|  | 52 | <li><a href="main.html"><span>Main Page</span></a></li> | 
|---|
|  | 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> | 
|---|
|  | 54 | <li><a href="modules.html"><span>Modules</span></a></li> | 
|---|
|  | 55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> | 
|---|
|  | 56 | <li><a href="files.html"><span>Files</span></a></li> | 
|---|
|  | 57 | </ul> | 
|---|
|  | 58 | </div> | 
|---|
|  | 59 | <div class="tabs"> | 
|---|
|  | 60 | <ul> | 
|---|
|  | 61 | <li><a href="annotated.html"><span>Class List</span></a></li> | 
|---|
|  | 62 | <li><a href="classes.html"><span>Class Index</span></a></li> | 
|---|
|  | 63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> | 
|---|
|  | 64 | <li><a href="functions.html"><span>Class Members</span></a></li> | 
|---|
|  | 65 | </ul> | 
|---|
|  | 66 | </div> | 
|---|
|  | 67 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1Particular__UI.html">Particular_UI</a> | 
|---|
|  | 68 | </div> | 
|---|
|  | 69 | </div> | 
|---|
|  | 70 | <div class="contents"> | 
|---|
|  | 71 | <h1>bdm::Particular_UI< T > Class Template Reference</h1><!-- doxytag: class="bdm::Particular_UI" --><!-- doxytag: inherits="bdm::UI" -->The main userinfo template class. You should derive this class whenever you need a new userinfo of a class which is compound from smaller elements (all having its own userinfo class prepared). | 
|---|
|  | 72 | <a href="#_details">More...</a> | 
|---|
|  | 73 | <p> | 
|---|
|  | 74 | <code>#include <<a class="el" href="user__info_8h-source.html">user_info.h</a>></code> | 
|---|
|  | 75 | <p> | 
|---|
|  | 76 |  | 
|---|
|  | 77 | <p> | 
|---|
|  | 78 | <a href="classbdm_1_1Particular__UI-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> | 
|---|
|  | 79 | <tr><td></td></tr> | 
|---|
| [368] | 80 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> | 
|---|
|  | 81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eae5c94852df80078c33d316466c18a3"></a><!-- doxytag: member="bdm::Particular_UI::Particular_UI" ref="eae5c94852df80078c33d316466c18a3" args="(const string &class_name)" --> | 
|---|
|  | 82 |  </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Particular__UI.html#eae5c94852df80078c33d316466c18a3">Particular_UI</a> (const string &class_name)</td></tr> | 
|---|
|  | 83 |  | 
|---|
|  | 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor, which is intentionally declared as private <br></td></tr> | 
|---|
|  | 85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ae004150ae2de7645c62219c74340ff"></a><!-- doxytag: member="bdm::Particular_UI::new_instance" ref="6ae004150ae2de7645c62219c74340ff" args="() const " --> | 
|---|
|  | 86 | <a class="el" href="classbdm_1_1bdmroot.html">bdmroot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Particular__UI.html#6ae004150ae2de7645c62219c74340ff">new_instance</a> () const </td></tr> | 
|---|
|  | 87 |  | 
|---|
|  | 88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal method assembling a typeless instance from components obtained by the 'AssemblyComponentsFromSetting()' method <br></td></tr> | 
|---|
|  | 89 | <tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr> | 
|---|
|  | 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="classbdm_1_1Particular__UI.html">Particular_UI</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1Particular__UI.html#ca33b00e0c341706003930c4b20a1e36">ui</a></td></tr> | 
|---|
|  | 91 |  | 
|---|
| [353] | 92 | <tr><td colspan="2"><br><h2>Static Private Member Functions</h2></td></tr> | 
|---|
| [368] | 93 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="f0eccc7bbe4b680f3e1cb84b455a1125"></a><!-- doxytag: member="bdm::Particular_UI::build" ref="f0eccc7bbe4b680f3e1cb84b455a1125" args="(const Setting &element, const int index)" --> | 
|---|
|  | 94 | template<class T > </td></tr> | 
|---|
| [354] | 95 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static T * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125">build</a> (const Setting &element, const int index)</td></tr> | 
|---|
| [353] | 96 |  | 
|---|
| [368] | 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Prototype of a <a class="el" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a> builder. Return value is by the second argument since it type checking via <code>dynamic_cast</code>. <br></td></tr> | 
|---|
| [354] | 98 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="dda27449f8bd19d54db9ccfb2644e908"></a><!-- doxytag: member="bdm::Particular_UI::build" ref="dda27449f8bd19d54db9ccfb2644e908" args="(const Setting &element, const string &name)" --> | 
|---|
| [353] | 99 | template<class T > </td></tr> | 
|---|
| [354] | 100 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static T * </td><td class="memTemplItemRight" valign="bottom"><b>build</b> (const Setting &element, const string &name)</td></tr> | 
|---|
| [353] | 101 |  | 
|---|
| [368] | 102 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="652bfd23f5052e4f1cb317057d74a3e2"></a><!-- doxytag: member="bdm::Particular_UI::get" ref="652bfd23f5052e4f1cb317057d74a3e2" args="(T &instance, const Setting &element, const string &name)" --> | 
|---|
| [354] | 103 | template<class T > </td></tr> | 
|---|
| [368] | 104 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2">get</a> (T &instance, const Setting &element, const string &name)</td></tr> | 
|---|
| [353] | 105 |  | 
|---|
| [354] | 106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to build a new double matrix. <br></td></tr> | 
|---|
| [368] | 107 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="3d04bb3d7dbcf0da0b4d5d3d5b7df51a"></a><!-- doxytag: member="bdm::Particular_UI::get" ref="3d04bb3d7dbcf0da0b4d5d3d5b7df51a" args="(T &instance, const Setting &element, const int index)" --> | 
|---|
| [354] | 108 | template<class T > </td></tr> | 
|---|
| [368] | 109 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#3d04bb3d7dbcf0da0b4d5d3d5b7df51a">get</a> (T &instance, const Setting &element, const int index)</td></tr> | 
|---|
| [353] | 110 |  | 
|---|
| [354] | 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to build a new double matrix. <br></td></tr> | 
|---|
| [368] | 112 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="00bb5f2a328d272b0a3ffbda1a902d54"></a><!-- doxytag: member="bdm::Particular_UI::get" ref="00bb5f2a328d272b0a3ffbda1a902d54" args="(Array< T > &array_to_load, const Setting &element, const string &name)" --> | 
|---|
| [354] | 113 | template<class T > </td></tr> | 
|---|
| [368] | 114 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#00bb5f2a328d272b0a3ffbda1a902d54">get</a> (Array< T > &array_to_load, const Setting &element, const string &name)</td></tr> | 
|---|
| [353] | 115 |  | 
|---|
|  | 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to build a new double matrix. <br></td></tr> | 
|---|
| [368] | 117 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b6a224b6aea027e167d3d565b39144e0"></a><!-- doxytag: member="bdm::Particular_UI::get" ref="b6a224b6aea027e167d3d565b39144e0" args="(Array< T > &array_to_load, const Setting &element, const int index)" --> | 
|---|
| [354] | 118 | template<class T > </td></tr> | 
|---|
| [368] | 119 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#b6a224b6aea027e167d3d565b39144e0">get</a> (Array< T > &array_to_load, const Setting &element, const int index)</td></tr> | 
|---|
| [353] | 120 |  | 
|---|
|  | 121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to build a new double matrix. <br></td></tr> | 
|---|
| [354] | 122 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="c83987949e6a9e79d6e093797ab7d917"></a><!-- doxytag: member="bdm::Particular_UI::save" ref="c83987949e6a9e79d6e093797ab7d917" args="(const T *const instance, Setting &element, const string &name="")" --> | 
|---|
|  | 123 | template<class T > </td></tr> | 
|---|
|  | 124 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><b>save</b> (const T *const instance, Setting &element, const string &name="")</td></tr> | 
|---|
| [353] | 125 |  | 
|---|
| [354] | 126 | <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="4514f93573a9d9126c506d176fbd3163"></a><!-- doxytag: member="bdm::Particular_UI::save" ref="4514f93573a9d9126c506d176fbd3163" args="(const Array< T > &array_to_save, Setting &element, const string &name="")" --> | 
|---|
|  | 127 | template<class T > </td></tr> | 
|---|
|  | 128 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">static void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#4514f93573a9d9126c506d176fbd3163">save</a> (const Array< T > &array_to_save, Setting &element, const string &name="")</td></tr> | 
|---|
| [353] | 129 |  | 
|---|
| [354] | 130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to save a double vec. <br></td></tr> | 
|---|
|  | 131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="42e908a4f1b09d701be69c8784a02df7"></a><!-- doxytag: member="bdm::Particular_UI::save" ref="42e908a4f1b09d701be69c8784a02df7" args="(const mat &matrix, Setting &element, const string &name="")" --> | 
|---|
|  | 132 | static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#42e908a4f1b09d701be69c8784a02df7">save</a> (const mat &matrix, Setting &element, const string &name="")</td></tr> | 
|---|
| [353] | 133 |  | 
|---|
| [354] | 134 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to save a double matrix. <br></td></tr> | 
|---|
| [368] | 135 | <tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#cc2afb61a772d8571f7bb19065da4695">save</a> (const ivec &vec, Setting &element, const string &name="")</td></tr> | 
|---|
| [353] | 136 |  | 
|---|
| [368] | 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to save a double vec.  <a href="#cc2afb61a772d8571f7bb19065da4695"></a><br></td></tr> | 
|---|
|  | 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7d4028226c09da8bdf442c1e183d564e"></a><!-- doxytag: member="bdm::Particular_UI::save" ref="7d4028226c09da8bdf442c1e183d564e" args="(const vec &vector, Setting &element, const string &name)" --> | 
|---|
|  | 139 | static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1UI.html#7d4028226c09da8bdf442c1e183d564e">save</a> (const vec &vector, Setting &element, const string &name)</td></tr> | 
|---|
|  | 140 |  | 
|---|
|  | 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This methods tries to save a double vector. <br></td></tr> | 
|---|
| [353] | 142 | </table> | 
|---|
|  | 143 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
|  | 144 | <h3>template<typename T><br> | 
|---|
|  | 145 | class bdm::Particular_UI< T ></h3> | 
|---|
|  | 146 |  | 
|---|
| [368] | 147 | The main userinfo template class. You should derive this class whenever you need a new userinfo of a class which is compound from smaller elements (all having its own userinfo class prepared). <hr><h2>Member Data Documentation</h2> | 
|---|
|  | 148 | <a class="anchor" name="ca33b00e0c341706003930c4b20a1e36"></a><!-- doxytag: member="bdm::Particular_UI::ui" ref="ca33b00e0c341706003930c4b20a1e36" args="" --> | 
|---|
|  | 149 | <div class="memitem"> | 
|---|
|  | 150 | <div class="memproto"> | 
|---|
|  | 151 | <div class="memtemplate"> | 
|---|
|  | 152 | template<typename T > </div> | 
|---|
|  | 153 | <table class="memname"> | 
|---|
|  | 154 | <tr> | 
|---|
|  | 155 | <td class="memname">const <a class="el" href="classbdm_1_1Particular__UI.html">Particular_UI</a><T>& <a class="el" href="classbdm_1_1Particular__UI.html">bdm::Particular_UI</a>< T >::<a class="el" href="classbdm_1_1Particular__UI.html#ca33b00e0c341706003930c4b20a1e36">ui</a><code> [static]</code>          </td> | 
|---|
|  | 156 | </tr> | 
|---|
|  | 157 | </table> | 
|---|
|  | 158 | </div> | 
|---|
|  | 159 | <div class="memdoc"> | 
|---|
|  | 160 |  | 
|---|
|  | 161 | <p> | 
|---|
|  | 162 | the only instance of this class (each type T has its own instance) which is used as a factory for processing related <a class="el" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a> | 
|---|
|  | 163 | </div> | 
|---|
|  | 164 | </div><p> | 
|---|
|  | 165 | <hr>The documentation for this class was generated from the following file:<ul> | 
|---|
| [353] | 166 | <li><a class="el" href="user__info_8h-source.html">user_info.h</a></ul> | 
|---|
|  | 167 | </div> | 
|---|
| [380] | 168 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by  | 
|---|
| [353] | 169 | <a href="http://www.doxygen.org/index.html"> | 
|---|
|  | 170 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> | 
|---|
|  | 171 | </body> | 
|---|
|  | 172 | </html> | 
|---|