bbtkComplexBlackBoxOutputDescriptor.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00040 #ifndef __bbtkComplexBlackBoxOutputDescriptor_h__
00041 #define __bbtkComplexBlackBoxOutputDescriptor_h__
00042
00043 #include "bbtkBlackBoxOutputDescriptor.h"
00044 #include "bbtkMessageManager.h"
00045
00046
00047 namespace bbtk
00048 {
00049
00050
00051 class BBTK_EXPORT ComplexBlackBoxOutputDescriptor :
00052 public bbtk::BlackBoxOutputDescriptor
00053 {
00054 public:
00055
00056 ComplexBlackBoxOutputDescriptor( TypeInfo creator_type_info,
00057 const std::string& name,
00058 const std::string& description,
00059 const std::string& nature,
00060 const std::string& target,
00061 const std::string& output,
00062 TypeInfo type);
00063
00064 ~ComplexBlackBoxOutputDescriptor();
00065
00067 TypeInfo GetTypeInfo() const { return mType; }
00069 std::string GetTypeName() const { return TypeName(mType); }
00071 std::string GetHumanTypeName() const { return HumanTypeName(mType); }
00073 bool IsPointerType() const { return false; }
00074
00075
00077 const std::string& GetTarget() const { return mTarget; }
00079 const std::string& GetOutput() const { return mOutput; }
00080
00081 private:
00083 ComplexBlackBoxOutputDescriptor() :
00084 BlackBoxOutputDescriptor(typeid(void),"","",""),
00085 mType(typeid(void)) {}
00086 std::string mTarget;
00087 std::string mOutput;
00088 TypeInfo mType;
00089 };
00090
00091 }
00092
00093 #endif