bbtk::ComplexBlackBoxOutputDescriptor Class Reference

Structure containing the description of a ComplexBlackBox output (name, description, type, mapping). More...

#include <bbtkComplexBlackBoxOutputDescriptor.h>

Inheritance diagram for bbtk::ComplexBlackBoxOutputDescriptor:

Inheritance graph
[legend]
Collaboration diagram for bbtk::ComplexBlackBoxOutputDescriptor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ComplexBlackBoxOutputDescriptor (TypeInfo creator_type_info, const std::string &name, const std::string &description, const std::string &nature, const std::string &target, const std::string &output, TypeInfo type)
 ~ComplexBlackBoxOutputDescriptor ()
TypeInfo GetTypeInfo () const
 Returns the type of the output.
std::string GetTypeName () const
 Returns the name of the type of the output.
std::string GetHumanTypeName () const
 Returns the name of the type of the output.
bool IsPointerType () const
 Returns true iff the type is a pointer to class.
const std::string & GetTarget () const
 Returns the target black box.
const std::string & GetOutput () const
 Returns the output.
TypeInfo GetCreatorTypeInfo () const
 Returns the TypeInfo of the BlackBoxDescriptor which created this descriptor.
const std::string & GetName () const
 Returns the name of the in/output.
const std::string & GetDescription () const
 Returns the description of the in/output.
const std::string & GetNature () const
 Returns the nature of the in/output.
virtual DataInfo GetDataInfo () const
 Returns the DataInfo of the input (Type+Nature).
bool GetCopyConstruct () const

Private Member Functions

 ComplexBlackBoxOutputDescriptor ()
 Default ctor is private.

Private Attributes

std::string mTarget
std::string mOutput
TypeInfo mType


Detailed Description

Structure containing the description of a ComplexBlackBox output (name, description, type, mapping).

Definition at line 51 of file bbtkComplexBlackBoxOutputDescriptor.h.


Constructor & Destructor Documentation

bbtk::ComplexBlackBoxOutputDescriptor::ComplexBlackBoxOutputDescriptor ( TypeInfo  creator_type_info,
const std::string &  name,
const std::string &  description,
const std::string &  nature,
const std::string &  target,
const std::string &  output,
TypeInfo  type 
)

Definition at line 43 of file bbtkComplexBlackBoxOutputDescriptor.cxx.

References bbtkDebugMessage.

00050     : 
00051     BlackBoxOutputDescriptor(creator_type_info,name,description,nature),
00052     mTarget(target),
00053     mOutput(output),
00054     mType(type)
00055   {    
00056     
00057     bbtkDebugMessage("kernel",9,"ComplexBlackBoxOutputDescriptor(\""<<name<<"\",\""<<description<<"\",\""<<target<<"\",\""<<output<<"\")"<<std::endl);
00058   }

bbtk::ComplexBlackBoxOutputDescriptor::~ComplexBlackBoxOutputDescriptor (  ) 

Definition at line 64 of file bbtkComplexBlackBoxOutputDescriptor.cxx.

References bbtkDebugMessage, and bbtk::BlackBoxInputOutputDescriptor::GetName().

00065   {
00066     bbtkDebugMessage("kernel",9,"~ComplexBlackBoxOutputDescriptor(\""
00067                      <<GetName()<<"\")"<<std::endl);
00068   }

Here is the call graph for this function:

bbtk::ComplexBlackBoxOutputDescriptor::ComplexBlackBoxOutputDescriptor (  )  [inline, private]

Default ctor is private.

Definition at line 83 of file bbtkComplexBlackBoxOutputDescriptor.h.

00083                                       : 
00084       BlackBoxOutputDescriptor(typeid(void),"","",""), 
00085       mType(typeid(void))  {}


Member Function Documentation

bool bbtk::BlackBoxInputOutputDescriptor::GetCopyConstruct (  )  const [inline, inherited]

Returns true iff the in/output must be copied by the copy constructor of the box

Definition at line 91 of file bbtkBlackBoxInputOutputDescriptor.h.

00091 { return mCopyConstruct; }

TypeInfo bbtk::BlackBoxInputOutputDescriptor::GetCreatorTypeInfo (  )  const [inline, inherited]

Returns the TypeInfo of the BlackBoxDescriptor which created this descriptor.

Definition at line 71 of file bbtkBlackBoxInputOutputDescriptor.h.

Referenced by bbtk::Interpreter::commandNewGUI().

00071 { return mCreatorTypeInfo; }

Here is the caller graph for this function:

virtual DataInfo bbtk::BlackBoxInputOutputDescriptor::GetDataInfo (  )  const [inline, virtual, inherited]

Returns the DataInfo of the input (Type+Nature).

Definition at line 83 of file bbtkBlackBoxInputOutputDescriptor.h.

Referenced by bbtk::Interpreter::commandNewGUI().

00084     { return DataInfo(this->GetTypeInfo(),mNature); }

Here is the caller graph for this function:

const std::string& bbtk::BlackBoxInputOutputDescriptor::GetDescription (  )  const [inline, inherited]

Returns the description of the in/output.

Definition at line 75 of file bbtkBlackBoxInputOutputDescriptor.h.

Referenced by bbtk::WxGUIBlackBoxInfo::InsertInputOutput().

00075 { return mDescription; }

Here is the caller graph for this function:

std::string bbtk::ComplexBlackBoxOutputDescriptor::GetHumanTypeName (  )  const [inline, virtual]

Returns the name of the type of the output.

Implements bbtk::BlackBoxInputOutputDescriptor.

Definition at line 71 of file bbtkComplexBlackBoxOutputDescriptor.h.

References bbtk::HumanTypeName().

00071 { return HumanTypeName(mType); }

Here is the call graph for this function:

const std::string& bbtk::BlackBoxInputOutputDescriptor::GetName (  )  const [inline, inherited]

const std::string& bbtk::BlackBoxInputOutputDescriptor::GetNature (  )  const [inline, inherited]

Returns the nature of the in/output.

Definition at line 77 of file bbtkBlackBoxInputOutputDescriptor.h.

Referenced by bbtk::ComplexBlackBoxDescriptor::DefineInput(), bbtk::ComplexBlackBoxDescriptor::DefineOutput(), and bbtk::WxGUIBlackBoxInfo::InsertInputOutput().

00077 { return mNature; }

Here is the caller graph for this function:

const std::string& bbtk::ComplexBlackBoxOutputDescriptor::GetOutput (  )  const [inline]

Returns the output.

Definition at line 79 of file bbtkComplexBlackBoxOutputDescriptor.h.

Referenced by bbtk::ComplexBlackBox::bbAllocateConnectors(), bbtk::ComplexBlackBox::bbGetOutput(), bbtk::ComplexBlackBox::bbSetOutput(), and bbtk::ComplexBlackBox::bbWriteDotFileBlackBox().

00079 { return mOutput; }

Here is the caller graph for this function:

const std::string& bbtk::ComplexBlackBoxOutputDescriptor::GetTarget (  )  const [inline]

Returns the target black box.

Definition at line 77 of file bbtkComplexBlackBoxOutputDescriptor.h.

Referenced by bbtk::ComplexBlackBox::bbAllocateConnectors(), bbtk::ComplexBlackBox::bbGetOutput(), bbtk::ComplexBlackBox::bbSetOutput(), and bbtk::ComplexBlackBox::bbWriteDotFileBlackBox().

00077 { return mTarget; }

Here is the caller graph for this function:

TypeInfo bbtk::ComplexBlackBoxOutputDescriptor::GetTypeInfo (  )  const [inline, virtual]

Returns the type of the output.

Implements bbtk::BlackBoxInputOutputDescriptor.

Definition at line 67 of file bbtkComplexBlackBoxOutputDescriptor.h.

00067 { return mType; }

std::string bbtk::ComplexBlackBoxOutputDescriptor::GetTypeName (  )  const [inline, virtual]

Returns the name of the type of the output.

Implements bbtk::BlackBoxInputOutputDescriptor.

Definition at line 69 of file bbtkComplexBlackBoxOutputDescriptor.h.

References bbtk::TypeName().

00069 { return TypeName(mType); }

Here is the call graph for this function:

bool bbtk::ComplexBlackBoxOutputDescriptor::IsPointerType (  )  const [inline, virtual]

Returns true iff the type is a pointer to class.

Implements bbtk::BlackBoxInputOutputDescriptor.

Definition at line 73 of file bbtkComplexBlackBoxOutputDescriptor.h.

00073 { return false; }


Member Data Documentation

Definition at line 87 of file bbtkComplexBlackBoxOutputDescriptor.h.

Definition at line 86 of file bbtkComplexBlackBoxOutputDescriptor.h.

Definition at line 88 of file bbtkComplexBlackBoxOutputDescriptor.h.


The documentation for this class was generated from the following files:

Generated on Thu May 31 14:14:15 2012 for BBTK by  doxygen 1.5.7.1