1 /*=========================================================================
4 Module: $RCSfile: bbtkComplexBlackBoxOutputDescriptor.h,v $
6 Date: $Date: 2008/02/06 14:14:22 $
7 Version: $Revision: 1.2 $
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::ComplexBlackBoxOutputDescriptor : structure containing the description of a ComplexBlackBox output (name, description, type, mapping)
24 * \class bbtk::ComplexBlackBoxOutputDescriptor
25 * \brief Structure containing the description of a ComplexBlackBox output (name, description, type, mapping)
28 #ifndef __bbtkComplexBlackBoxOutputDescriptor_h__
29 #define __bbtkComplexBlackBoxOutputDescriptor_h__
31 #include "bbtkBlackBoxOutputDescriptor.h"
32 #include "bbtkMessageManager.h"
33 //#include "bbtkSystem.h"
39 class BBTK_EXPORT ComplexBlackBoxOutputDescriptor :
40 public bbtk::BlackBoxOutputDescriptor
44 ComplexBlackBoxOutputDescriptor( TypeInfo creator_type_info,
45 const std::string& name,
46 const std::string& description,
47 const std::string& target,
48 const std::string& output,
51 ~ComplexBlackBoxOutputDescriptor();
53 /// Returns the type of the output
54 TypeInfo GetTypeInfo() const { return mType; }
55 /// Returns the name of the type of the output
56 std::string GetTypeName() const { return TypeName(mType); }
57 /// Returns the name of the type of the output
58 std::string GetHumanTypeName() const { return HumanTypeName(mType); }
60 bool IsPointerType() const { return false; }
63 /// Returns the target black box
64 const std::string& GetTarget() const { return mTarget; }
65 /// Returns the output
66 const std::string& GetOutput() const { return mOutput; }
69 /// Default ctor is private
70 ComplexBlackBoxOutputDescriptor() :
71 BlackBoxOutputDescriptor(typeid(void),"",""),
72 mType(typeid(void)) {}