]> Creatis software - crea.git/blob - lib/creaDevManagerLib/modelCDMBlackBox.cpp
5ea4a26cbfae621fd360a674a0044f096b5b17f5
[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 = this->nameBlackBox = 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 const std::string& modelCDMBlackBox::GetVersion() const
82 {
83   return this->version;
84 }
85
86 bool modelCDMBlackBox::SetAuthors(const std::string& authors, std::string*& result)
87 {
88   //TODO: implement method
89   return true;
90 }
91
92 bool modelCDMBlackBox::SetAuthorsEmail(
93     const std::string& email,
94     std::string*& result
95 )
96 {
97   //TODO: implement method
98   return true;
99 }
100
101 bool modelCDMBlackBox::SetCategories(
102     const std::string& version,
103     std::string*& result
104 )
105 {
106   //TODO: implement method
107   return true;
108 }
109
110 bool modelCDMBlackBox::SetDescription(
111     const std::string& description,
112     std::string*& result
113 )
114 {
115   //TODO: implement method
116   return true;
117 }
118
119 bool modelCDMBlackBox::SetVersion(const std::string& version, std::string*& result)
120 {
121   //TODO: implement method
122     return true;
123 }
124
125 bool modelCDMBlackBox::OpenCxx(std::string*& result)
126 {
127   //TODO: implement method
128   return true;
129 }
130
131 bool modelCDMBlackBox::OpenHxx(std::string*& result)
132 {
133   //TODO: implement method
134   return true;
135 }
136
137 const bool modelCDMBlackBox::Refresh(std::string*& result)
138 {
139   //TODO: implement method
140   return true;
141 }