bbstd::MagicBoxSetFunctor Class Reference

#include <bbstdMagicBox.h>

List of all members.

Public Types

typedef void(MagicBox::* SetMethodPointerType )(bbtk::Data)
 Type of pointer on a UBB::Set method.

Public Member Functions

 MagicBoxSetFunctor (SetMethodPointerType s)
 Construction with the pointer on the Set method.
void Set (bbtk::AtomicBlackBox *o, const bbtk::Data &d)
 Concrete application of the Set method of object o.
bbtk::TypeInfo GetTypeInfo () const
std::string GetTypeName () const
std::string GetHumanTypeName () const
bool IsPointerType () const
void BruteForceSetPointer (bbtk::AtomicBlackBox *, void *)

Private Attributes

SetMethodPointerType mSetMethodPointer
 Pointer on the Set method.


Detailed Description

Definition at line 65 of file bbstdMagicBox.h.


Member Typedef Documentation

typedef void(MagicBox::* bbstd::MagicBoxSetFunctor::SetMethodPointerType)(bbtk::Data)

Type of pointer on a UBB::Set method.


Constructor & Destructor Documentation

bbstd::MagicBoxSetFunctor::MagicBoxSetFunctor ( SetMethodPointerType  s  )  [inline]

Construction with the pointer on the Set method.

Definition at line 72 of file bbstdMagicBox.h.

00072                                                :
00073        mSetMethodPointer(s) 
00074        {
00075        }
    


Member Function Documentation

void bbstd::MagicBoxSetFunctor::Set ( bbtk::AtomicBlackBox *  o,
const bbtk::Data &  d 
) [inline]

Concrete application of the Set method of object o.

Definition at line 78 of file bbstdMagicBox.h.

References mSetMethodPointer.

00079     { 
00080       bbtkDebugMessage("Data",9,"MagicBoxSetfunctor::Set()"<<std::endl);
00081       (((MagicBox*)o)->*mSetMethodPointer)(d);
00082     }

bbtk::TypeInfo bbstd::MagicBoxSetFunctor::GetTypeInfo (  )  const [inline]

Definition at line 85 of file bbstdMagicBox.h.

00085 { return typeid(bbtk::Data); }

std::string bbstd::MagicBoxSetFunctor::GetTypeName (  )  const [inline]

Definition at line 86 of file bbstdMagicBox.h.

00086 { return bbtk::TypeName<bbtk::Data>(); }

std::string bbstd::MagicBoxSetFunctor::GetHumanTypeName (  )  const [inline]

Definition at line 87 of file bbstdMagicBox.h.

00087 { return bbtk::HumanTypeName<bbtk::Data>(); }

bool bbstd::MagicBoxSetFunctor::IsPointerType (  )  const [inline]

Definition at line 88 of file bbstdMagicBox.h.

00088 { return false; }

void bbstd::MagicBoxSetFunctor::BruteForceSetPointer ( bbtk::AtomicBlackBox *  ,
void *   
) [inline]

Definition at line 89 of file bbstdMagicBox.h.

00089 {}


Member Data Documentation

Pointer on the Set method.

Definition at line 92 of file bbstdMagicBox.h.

Referenced by Set().


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

Generated on Tue Oct 21 16:06:51 2008 for std by  doxygen 1.5.6