1 /*=========================================================================
4 Module: $RCSfile: bbtkBlackBoxInputDescriptor.h,v $
6 Date: $Date: 2008/04/04 08:04:05 $
7 Version: $Revision: 1.3 $
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 OptionType option = MANDATORY,
50 bool copy_construct = true)
51 : BlackBoxInputOutputDescriptor(creator_type_info,name,
52 description,copy_construct),
55 /// Returns the option of the input
56 OptionType GetOption() const { return mOption; }
59 /// Default ctor is reserved to children
60 BlackBoxInputDescriptor() : BlackBoxInputOutputDescriptor(),
64 /// The option of the input