]> Creatis software - bbtk.git/blob - kernel/src/bbtkBlackBoxOutputDescriptor.h
cba3a638375fc7a10ab0c6a29d652bc8ea68e8e0
[bbtk.git] / kernel / src / bbtkBlackBoxOutputDescriptor.h
1 /*=========================================================================
2                                                                                 
3   Program:   bbtk
4   Module:    $RCSfile: bbtkBlackBoxOutputDescriptor.h,v $
5   Language:  C++
6   Date:      $Date: 2008/04/04 08:04:05 $
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::BlackBoxOutputDescriptor : abstract descriptor of an output of a black box (stores a name, a description and type)
22  */
23 /**
24  * \class bbtk::BlackBoxOutputDescriptor
25  * \brief Abstract descriptor of an output of a black box (stores a name, a description and type)
26  */
27
28 #ifndef __bbtkBlackBoxOutputDescriptor_h__
29 #define __bbtkBlackBoxOutputDescriptor_h__
30
31 #include "bbtkBlackBoxInputOutputDescriptor.h"
32
33 namespace bbtk
34 {
35   
36   class BBTK_EXPORT BlackBoxOutputDescriptor
37     : public BlackBoxInputOutputDescriptor
38   {
39   public:
40     /// Ctor with name and description
41     BlackBoxOutputDescriptor( TypeInfo creator_type_info,
42                               const std::string& name,
43                               const std::string& description,
44                               bool copy_construct = true)
45       : BlackBoxInputOutputDescriptor(creator_type_info,name,
46                                       description,
47                                       copy_construct)
48     {}
49  
50   protected:
51     /// Default ctor is reserved to children
52     BlackBoxOutputDescriptor() : 
53       BlackBoxInputOutputDescriptor()
54     {}
55  };
56   
57 }
58 // namespace bbtk
59 #endif