1 /*=========================================================================
4 Module: $RCSfile: bbtkComplexBlackBoxInputDescriptor.h,v $
6 Date: $Date: 2008/01/22 15:02:00 $
7 Version: $Revision: 1.1 $
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::ComplexBlackBoxInputDescriptor : structure containing the description of a ComplexBlackBox input (name, description, type, mapping)
24 * \class bbtk::ComplexBlackBoxInputDescriptor
25 * \brief Structure containing the description of a ComplexBlackBox input (name, description, type, mapping)
28 #ifndef __bbtkComplexBlackBoxInputDescriptor_h__
29 #define __bbtkComplexBlackBoxInputDescriptor_h__
31 #include "bbtkBlackBoxInputDescriptor.h"
32 #include "bbtkMessageManager.h"
38 class BBTK_EXPORT ComplexBlackBoxInputDescriptor : public bbtk::BlackBoxInputDescriptor
42 ComplexBlackBoxInputDescriptor( const std::string& name,
43 const std::string& description,
44 const std::string& target,
45 const std::string& input,
48 ~ComplexBlackBoxInputDescriptor();
50 /// Returns the type of the input
51 TypeInfo GetTypeInfo() const { return mType; }
52 /// Returns the name of the type of the input
53 std::string GetTypeName() const { return TypeName(mType); }
54 /// Returns the name of the type of the input
55 std::string GetHumanTypeName() const { return HumanTypeName(mType); }
56 /// Returns the target black box
57 const std::string& GetTarget() const { return mTarget; }
59 const std::string& GetInput() const { return mInput; }
61 bool IsPointerType() const { return false; }
65 /// Default ctor is private
66 ComplexBlackBoxInputDescriptor() : BlackBoxInputDescriptor("",""),
67 mType(typeid(void)) {}