#include <bbstdMagicBox.h>
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. |
Definition at line 65 of file bbstdMagicBox.h.
typedef void(MagicBox::* bbstd::MagicBoxSetFunctor::SetMethodPointerType)(bbtk::Data) |
Type of pointer on a UBB::Set method.
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 }
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] |
std::string bbstd::MagicBoxSetFunctor::GetTypeName | ( | ) | const [inline] |
std::string bbstd::MagicBoxSetFunctor::GetHumanTypeName | ( | ) | const [inline] |
bool bbstd::MagicBoxSetFunctor::IsPointerType | ( | ) | const [inline] |
void bbstd::MagicBoxSetFunctor::BruteForceSetPointer | ( | bbtk::AtomicBlackBox * | , | |
void * | ||||
) | [inline] |