1 /*=========================================================================
4 Module: $RCSfile: bbtkBlackBoxInputDescriptor.h,v $
6 Date: $Date: 2008/04/08 06:59:29 $
7 Version: $Revision: 1.4 $
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.
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.
17 =========================================================================*/
21 * \brief Class bbtk::BlackBoxInputDescriptor : abstract descriptor of an input of a black box
24 * \class bbtk::BlackBoxInputDescriptor
25 * \brief Abstract descriptor of an input of a black box
28 #ifndef __bbtkBlackBoxInputDescriptor_h__
29 #define __bbtkBlackBoxInputDescriptor_h__
31 #include "bbtkBlackBoxInputOutputDescriptor.h"
35 class BBTK_EXPORT BlackBoxInputDescriptor
36 : public BlackBoxInputOutputDescriptor
45 /// Ctor with name and description
46 BlackBoxInputDescriptor(TypeInfo creator_type_info,
47 const std::string& name,
48 const std::string& description,
49 const std::string& nature,
50 bool copy_construct = true,
51 OptionType option = MANDATORY
53 : BlackBoxInputOutputDescriptor(creator_type_info,name,
58 /// Returns the option of the input
59 OptionType GetOption() const { return mOption; }
62 /// Default ctor is reserved to children
63 BlackBoxInputDescriptor() : BlackBoxInputOutputDescriptor(),
67 /// The option of the input