]> Creatis software - bbtk.git/blob - kernel/src/bbtkComplexBlackBoxOutputDescriptor.cxx
504199a350164513b1daf2f1f1d870c22ea7bcf1
[bbtk.git] / kernel / src / bbtkComplexBlackBoxOutputDescriptor.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   bbtk
4   Module:    $RCSfile: bbtkComplexBlackBoxOutputDescriptor.cxx,v $
5   Language:  C++
6   Date:      $Date: 2008/02/06 14:14:22 $
7   Version:   $Revision: 1.3 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18
19 /**
20  *  \file 
21  *  \brief Class bbtk::ComplexBlackBoxOutputDescriptor : structure containing the description of a ComplexBlackBox output (name, description, type, mapping)
22  */
23 #include "bbtkComplexBlackBoxOutputDescriptor.h"
24    
25
26 namespace bbtk
27 {
28
29
30   ComplexBlackBoxOutputDescriptor::
31   ComplexBlackBoxOutputDescriptor( TypeInfo creator_type_info,
32                                    const std::string& name,
33                                    const std::string& description,
34                                    const std::string& target,
35                                    const std::string& output,
36                                    TypeInfo type)                       
37     : 
38     BlackBoxOutputDescriptor(creator_type_info,name,description),
39     mTarget(target),
40     mOutput(output),
41     mType(type)
42   {    
43     
44     bbtkDebugMessage("Kernel",9,"ComplexBlackBoxOutputDescriptor::ComplexBlackBoxOutputDescriptor(\""<<name<<"\",\""<<description<<"\",\""<<target<<"\",\""<<output<<"\")"<<std::endl);
45   }
46   
47
48
49
50
51   ComplexBlackBoxOutputDescriptor::~ComplexBlackBoxOutputDescriptor() 
52   {
53     bbtkDebugMessage("Kernel",9,"ComplexBlackBoxOutputDescriptor::~ComplexBlackBoxOutputDescriptor(\""<<GetName()<<"\",\""<<GetDescription()<<"\",\""<<GetTarget()<<"\",\""<<GetOutput()<<"\")"<<std::endl);
54   }
55   
56 }