[Bayonne-devel] call c++ method by string name + passing parameters

2010-01-18 Thread gafferuk
Im trying to create my own scripting engine/language. Is it possible to call a c++ class method by string name and also pass in the parameters? for example I have a class called MyClass with a method called callme: bool MyClass::callme(string name) { cout << "Hello " << name.c_str() << "\n"

Re: [Bayonne-devel] call c++ method by string name + passing parameters

2010-01-18 Thread gafferuk
gafferuk wrote: > > Im trying to create my own scripting engine/language. > > Is it possible to call a c++ class method by string name and also pass in > the parameters? > > for example I have a class called MyClass with a method called callme: > > bool

Re: [Bayonne-devel] call c++ method by string name + passing parameters

2010-01-18 Thread gafferuk
gafferuk wrote: > > > > gafferuk wrote: >> >> Im trying to create my own scripting engine/language. >> >> Is it possible to call a c++ class method by string name and also pass in >> the parameters? >> >> for example I have a class c