/*========================================================================= Program: bbtk Module: $RCSfile: bbtkComplexBlackBoxInputDescriptor.h,v $ Language: C++ Date: $Date: 2008/01/22 15:02:00 $ Version: $Revision: 1.1 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ /** * \file * \brief Class bbtk::ComplexBlackBoxInputDescriptor : structure containing the description of a ComplexBlackBox input (name, description, type, mapping) */ /** * \class bbtk::ComplexBlackBoxInputDescriptor * \brief Structure containing the description of a ComplexBlackBox input (name, description, type, mapping) */ #ifndef __bbtkComplexBlackBoxInputDescriptor_h__ #define __bbtkComplexBlackBoxInputDescriptor_h__ #include "bbtkBlackBoxInputDescriptor.h" #include "bbtkMessageManager.h" namespace bbtk { class BBTK_EXPORT ComplexBlackBoxInputDescriptor : public bbtk::BlackBoxInputDescriptor { public: ComplexBlackBoxInputDescriptor( const std::string& name, const std::string& description, const std::string& target, const std::string& input, TypeInfo type); ~ComplexBlackBoxInputDescriptor(); /// Returns the type of the input TypeInfo GetTypeInfo() const { return mType; } /// Returns the name of the type of the input std::string GetTypeName() const { return TypeName(mType); } /// Returns the name of the type of the input std::string GetHumanTypeName() const { return HumanTypeName(mType); } /// Returns the target black box const std::string& GetTarget() const { return mTarget; } /// Returns the input const std::string& GetInput() const { return mInput; } /// bool IsPointerType() const { return false; } private: /// Default ctor is private ComplexBlackBoxInputDescriptor() : BlackBoxInputDescriptor("",""), mType(typeid(void)) {} std::string mTarget; std::string mInput; TypeInfo mType; }; } // namespace bbtk #endif