/*========================================================================= Program: bbtk Module: $RCSfile: bbtkComplexBlackBoxOutputDescriptor.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::ComplexBlackBoxOutputDescriptor : structure containing the description of a ComplexBlackBox output (name, description, type, mapping) */ /** * \class bbtk::ComplexBlackBoxOutputDescriptor * \brief Structure containing the description of a ComplexBlackBox output (name, description, type, mapping) */ #ifndef __bbtkComplexBlackBoxOutputDescriptor_h__ #define __bbtkComplexBlackBoxOutputDescriptor_h__ #include "bbtkBlackBoxOutputDescriptor.h" #include "bbtkMessageManager.h" //#include "bbtkSystem.h" namespace bbtk { class BBTK_EXPORT ComplexBlackBoxOutputDescriptor : public bbtk::BlackBoxOutputDescriptor { public: ComplexBlackBoxOutputDescriptor( const std::string& name, const std::string& description, const std::string& target, const std::string& output, TypeInfo type); ~ComplexBlackBoxOutputDescriptor(); /// Returns the type of the output TypeInfo GetTypeInfo() const { return mType; } /// Returns the name of the type of the output std::string GetTypeName() const { return TypeName(mType); } /// Returns the name of the type of the output std::string GetHumanTypeName() const { return HumanTypeName(mType); } /// bool IsPointerType() const { return false; } /// Returns the target black box const std::string& GetTarget() const { return mTarget; } /// Returns the output const std::string& GetOutput() const { return mOutput; } private: /// Default ctor is private ComplexBlackBoxOutputDescriptor() : BlackBoxOutputDescriptor("",""), mType(typeid(void)) {} std::string mTarget; std::string mOutput; TypeInfo mType; }; } // namespace bbtk #endif