]> Creatis software - crea.git/blob - lib/creaDevManagerLib/modelCDMBlackBox.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMBlackBox.cpp
1 /*
2 # ---------------------------------------------------------------------
3 #
4 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 #                        pour la Sant�)
6 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
8 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 #
10 #  This software is governed by the CeCILL-B license under French law and
11 #  abiding by the rules of distribution of free software. You can  use,
12 #  modify and/ or redistribute the software under the terms of the CeCILL-B
13 #  license as circulated by CEA, CNRS and INRIA at the following URL
14 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
15 #  or in the file LICENSE.txt.
16 #
17 #  As a counterpart to the access to the source code and  rights to copy,
18 #  modify and redistribute granted by the license, users are provided only
19 #  with a limited warranty  and the software's author,  the holder of the
20 #  economic rights,  and the successive licensors  have only  limited
21 #  liability.
22 #
23 #  The fact that you are presently reading this means that you have had
24 #  knowledge of the CeCILL-B license and that you accept its terms.
25 # ------------------------------------------------------------------------
26  */
27
28 /*
29  * modelCDMBlackBox.cpp
30  *
31  *  Created on: Nov 23, 2012
32  *      Author: Daniel Felipe Gonzalez Obando
33  */
34
35 #include "modelCDMBlackBox.h"
36
37 #include<creaWx.h>
38 #include"wx/dir.h"
39
40 modelCDMBlackBox::modelCDMBlackBox()
41 {
42 }
43
44 modelCDMBlackBox::modelCDMBlackBox(const std::string& hName, const std::string& path, const int& level)
45 {
46   this->name = hName.substr(2, hName.size()-4);
47   this->path = path;
48   this->level = level;
49   this->type = wxDIR_DIRS;
50 }
51
52 modelCDMBlackBox::~modelCDMBlackBox()
53 {
54 }
55
56 const std::string& modelCDMBlackBox::GetNameBlackBox() const
57 {
58   return this->nameBlackBox;
59 }
60
61 const std::string& modelCDMBlackBox::GetAuthors() const
62 {
63   return this->authors;
64 }
65
66 const std::string& modelCDMBlackBox::GetAuthorsEmail() const
67 {
68   return this->authorsEmail;
69 }
70
71 const std::string& modelCDMBlackBox::GetCategories() const
72 {
73   return this->categories;
74 }
75
76 const std::string& modelCDMBlackBox::GetDescription() const
77 {
78   return this->description;
79 }
80
81 bool modelCDMBlackBox::SetAuthors(const std::string& authors, std::string*& result)
82 {
83   //TODO: implement method
84   return true;
85 }
86
87 bool modelCDMBlackBox::SetAuthorsEmail(
88     const std::string& email,
89     std::string*& result
90 )
91 {
92   //TODO: implement method
93   return true;
94 }
95
96 bool modelCDMBlackBox::SetCategories(
97     const std::string& version,
98     std::string*& result
99 )
100 {
101   //TODO: implement method
102   return true;
103 }
104
105 bool modelCDMBlackBox::SetDescription(
106     const std::string& description,
107     std::string*& result
108 )
109 {
110   //TODO: implement method
111   return true;
112 }
113
114 bool modelCDMBlackBox::OpenCxx(std::string*& result)
115 {
116   //TODO: implement method
117   return true;
118 }
119
120 bool modelCDMBlackBox::OpenHxx(std::string*& result)
121 {
122   //TODO: implement method
123   return true;
124 }
125
126 const bool modelCDMBlackBox::Refresh(std::string*& result)
127 {
128   //TODO: implement method
129   return true;
130 }