Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalhorton committed Mar 12, 2024
1 parent 7cdd85b commit 3e50b51
Show file tree
Hide file tree
Showing 841 changed files with 13,021 additions and 12,323 deletions.
14 changes: 7 additions & 7 deletions doxygen/Misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ToolMap: &quot;Miscellaneous&quot;</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
Expand Down Expand Up @@ -46,7 +46,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
Expand Down Expand Up @@ -102,20 +102,20 @@
</div>

<div><div class="header">
<div class="headertitle"><div class="title">"Miscellaneous" </div></div>
<div class="headertitle"><div class="title">"Miscellaneous"</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p >Here are presented some various stuff used in the ToolMap project but not specificaly related to a category.</p>
<div class="textblock"><p>Here are presented some various stuff used in the ToolMap project but not specificaly related to a category.</p>
<h1><a class="anchor" id="ctrl"></a>
Controls</h1>
<p >Some controls we have tweaked for Toolmap's need but probably usefull for others projects</p><ul>
<p>Some controls we have tweaked for Toolmap's need but probably usefull for others projects</p><ul>
<li><a class="el" href="tmColourPicker.html">Colour picker control</a></li>
<li><a class="el" href="tmSliderWithText.html">Slider with text control</a></li>
<li>Option Button</li>
</ul>
<h1><a class="anchor" id="lib"></a>
Libraries</h1>
<p >Some code created by others that we use</p><ul>
<p>Some code created by others that we use</p><ul>
<li>wxSerialize</li>
<li><a class="el" href="wxTreeMultiCtrl.html">wxTreeMultiCtrl</a> </li>
</ul>
Expand All @@ -126,7 +126,7 @@ <h1><a class="anchor" id="lib"></a>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">ToolMap</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
Expand Down
11 changes: 0 additions & 11 deletions doxygen/Misc.js

This file was deleted.

14 changes: 7 additions & 7 deletions doxygen/Prj_Edit_Obj.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ToolMap: Object Definition</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
Expand Down Expand Up @@ -46,7 +46,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
Expand Down Expand Up @@ -102,34 +102,34 @@
</div>

<div><div class="header">
<div class="headertitle"><div class="title">Object Definition </div></div>
<div class="headertitle"><div class="title">Object Definition</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="Introduction"></a>
Introduction</h1>
<p >Editing object definition call a <a class="el" href="classProjectEditObjectDefinitionDLG.html">ProjectEditObjectDefinitionDLG</a> object (see figure bellow). To allow user cancelling his changes, we store in memory all modifications done and apply them only if user choose to press the "save" button.</p>
<p>Editing object definition call a <a class="el" href="classProjectEditObjectDefinitionDLG.html">ProjectEditObjectDefinitionDLG</a> object (see figure bellow). To allow user cancelling his changes, we store in memory all modifications done and apply them only if user choose to press the "save" button.</p>
<div class="image">
<img src="obj_def_dlg.png" alt=""/>
</div>
<h1><a class="anchor" id="Details"></a>
How does it work in details</h1>
<p >During dialog startup, a new <a class="el" href="classPrjDefMemManage.html">PrjDefMemManage</a> object (called PM hereafter) is created and filled with a new <a class="el" href="classProjectDefMemoryLayers.html" title="Storing layers properties in memory.">ProjectDefMemoryLayers</a> object called "MEMORY".</p>
<p>During dialog startup, a new <a class="el" href="classPrjDefMemManage.html">PrjDefMemManage</a> object (called PM hereafter) is created and filled with a new <a class="el" href="classProjectDefMemoryLayers.html" title="Storing layers properties in memory.">ProjectDefMemoryLayers</a> object called "MEMORY".</p>
<ul>
<li><b>New Object</b> : when user press the "+" button, we create a new object of type <a class="el" href="classProjectDefMemoryObjects.html" title="Storing object properties in memory.">ProjectDefMemoryObjects</a> and add it into the PM (during the ObjectDefinitionList::BeforeAdding() function). If the adding dialog is canceled, we remove this new object (during the ObjectDefinitionList::AfterAdding() function). ProjectDefMemoryObjects::m_ObjectID is set to negative incremented values.</li>
<li><b>Edit Object</b> : when user double-click an object, we search the PM. If the selected object exist in the PM we modify it. Otherwise, we create a new <a class="el" href="classProjectDefMemoryObjects.html" title="Storing object properties in memory.">ProjectDefMemoryObjects</a> object with the ProjectDefMemoryObjects::m_ObjectID set to the item data value (OBJECT_ID column from the DMN_LAYER_OBJECT table in the DB).</li>
<li><b>Delete object(s)</b> Two case are managed :</li>
<li>The Object exist in the DB (ProjectDefMemoryObjects::m_ObjectID &gt;= 0) : In this case the ProjectDefMemoryObjects::m_ObjectID is added to PrjDefMemManage::m_StoreDeleteIDObj.</li>
<li>The Object exist only in memory (object recently added but not saved into the DB): In this case the object is removed from the PM only (using PrjDefMemManage::RemoveObject())</li>
</ul>
<p ><b>Save Button</b> : all objects into the PM are iterated and for each of them we UPDATE them if ProjectDefMemoryObjects::m_ObjectID &gt;= 0, or we INSERT them if ProjectDefMemoryObjects::m_ObjectID &lt; 0. Finaly we create a DELETE statement for all items contained into the PrjDefMemManage::m_StoreDeleteIDObj. </p>
<p><b>Save Button</b> : all objects into the PM are iterated and for each of them we UPDATE them if ProjectDefMemoryObjects::m_ObjectID &gt;= 0, or we INSERT them if ProjectDefMemoryObjects::m_ObjectID &lt; 0. Finaly we create a DELETE statement for all items contained into the PrjDefMemManage::m_StoreDeleteIDObj. </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">ToolMap</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
Expand Down
12 changes: 6 additions & 6 deletions doxygen/Prj_def.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ToolMap: Project definition</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
Expand Down Expand Up @@ -46,7 +46,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
Expand Down Expand Up @@ -102,15 +102,15 @@
</div>

<div><div class="header">
<div class="headertitle"><div class="title">Project definition </div></div>
<div class="headertitle"><div class="title">Project definition</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="Introduction"></a>
Introduction</h1>
<p >The project definition is stored in the embedded database but during the process of creating a new project or edition of an existing one, all will be temporally stored into the <a class="el" href="classPrjDefMemManage.html">PrjDefMemManage</a> class for allowing user to cancel any dialogs operation.</p>
<p>The project definition is stored in the embedded database but during the process of creating a new project or edition of an existing one, all will be temporally stored into the <a class="el" href="classPrjDefMemManage.html">PrjDefMemManage</a> class for allowing user to cancel any dialogs operation.</p>
<h1><a class="anchor" id="Structure"></a>
Structure of a project</h1>
<p >A project can be represented as a tree, the trunk is basicaly all project related settings such as project name, path, units, etc. and then branches are constituted of project layers. Each one of those layers contain properties such as layer name, type, etc. And then from thoses branches starts smaller branches constituted of fields or object (see figure).</p>
<p>A project can be represented as a tree, the trunk is basicaly all project related settings such as project name, path, units, etc. and then branches are constituted of project layers. Each one of those layers contain properties such as layer name, type, etc. And then from thoses branches starts smaller branches constituted of fields or object (see figure).</p>
<div class="image">
<img src="structure_projet.jpg" alt=""/>
</div>
Expand All @@ -121,7 +121,7 @@ <h1><a class="anchor" id="Structure"></a>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">ToolMap</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>
Expand Down
Loading

0 comments on commit 3e50b51

Please sign in to comment.