Commit a39bc5e3 authored by Kevin Coulomb's avatar Kevin Coulomb

Ajout d'un peu de documentation + correction d'erreurs dans les

templates de l'arbre
parent b30b2e9e
......@@ -67,6 +67,10 @@ class Interface_graphic : public QMainWindow, protected Ui::main_window, public
* \brief This variable contains the action to show/hide the toolbar.
*/
QAction* _ui_toolbar_check;
/*
*\brief This variable contains the toolbar
*/
QToolBar* _ui_toolbar;
/*!
......
/*!
*\file render_svg.hpp
*/
#ifndef RENDER_SVG
#define RENDER_SVG
......@@ -6,15 +9,54 @@
#include <sstream>
#include <fstream>
/*
*\brief Character number stored before flush the _buffer
*/
#define BUFFER_SIZE 10 //character number stored before flush the _buffer
/*
*\brief Distance between two containers
*/
#define LEVEL 20 //distance between two containers
/*
*\brief Distance between two object
*/
#define MARGIN 10 //distance between two object
/*
*\brief Spike size
*/
#define ARROWSIZE 2 //spike size
/*
*\brief
*/
#define WIDE 1000
/*
*\brief
*/
#define MARGINSTATE 0.5
/*
*\brief
*/
#define MARGINTOP 20
/*
*\brief
*/
#define WAIT_NEW_CHRONO 0
/*
*\brief
*/
#define INIT 1
/*
*\brief
*/
#define WAIT_FOR_POINT 2
......@@ -116,6 +158,12 @@ public:
*/
void set_accuracy(double epsilon);
/*
*\fn set_information(StatInfo &p)
*\brief Function that sets the information using the StatInfo structure
*\param A StatInfo reference that contains all the information
*/
void set_information(StatInfo &p);
};
......
......@@ -6,7 +6,7 @@
#include "Node.hpp"
#include "Interval.hpp"
template <E>
template <class E>
class BinaryTree{
Node <E> * _current;
......
#include <iostream>
template <E>
template <class E>
class Data{
std::string name;
std::string description;
......
......@@ -17,7 +17,7 @@
template <E>
template <class E>
class Node{
/*
......
......@@ -13,7 +13,7 @@
#include "BinaryTree.hpp"
#inclue "Node.hpp"
template <E>
template <class E>
class TreeBuilder(){
std::list <E> _list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment